Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CheckComboBox help #1791

Open
ido-amec opened this issue Dec 26, 2024 · 0 comments
Open

CheckComboBox help #1791

ido-amec opened this issue Dec 26, 2024 · 0 comments

Comments

@ido-amec
Copy link

ido-amec commented Dec 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant