CheckComboBox help

Open
#1,791 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
desktop

Research direction

Start with the CheckComboBox XAML shown in the issue, focusing on the ItemsSource, SelectedItemsOverride, DisplayMemberPath, ValueMemberPath, and ItemTemplate bindings. Reproduce the selection behavior in a WPF example and verify that selected values are visible after the control closes.

Written by the indexing model from the issue text.

Description

Hi Im trying to to use this for the first time and also new to WPF.

Basically I am binding the ItemsSource value to a list of some class instances I created,
And I for some reason after selecting some options and closing the CheckComboBox, I dont see anything that indicatesmy selections.

The best I could achieve is to show the the path of each option.

Can somebody help me with this please?

xaml:

<xctk:CheckComboBox
    ItemsSource="{Binding ParameterValueList}"
    Delimiter=", "
    Width="200"
    SelectedItemsOverride="{Binding SelectedFilterParameters}"
    DisplayMemberPath="ValueToString"
    ValueMemberPath="ValueToString"
     >
    <xctk:CheckComboBox.ItemTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding ValueToString}"/>
        </DataTemplate>
    </xctk:CheckComboBox.ItemTemplate>
</xctk:CheckComboBox>

image

Dominant language
C#
Stars
4.2k
Forks
912
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from xceedsoftware/wpftoolkit

All issues in xceedsoftware/wpftoolkit

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.