This is my xaml:
```
<xctk:CheckComboBox Grid.Row="2" Grid.Column="1" HorizontalAlignment="Stretch" Margin="5,2,5,2" VerticalAlignment="Stretch" ItemsSource="{Binding Genders}" SelectedItemsOverride="{Binding SelectedGenders}" DisplayMemberPath="Title"/>
```
Also when I use below ItemTemplate droppbox shows right string and combobox shows selected entity names!
```
<DataTemplate x:Key="DisplayTemplate" DataType="{x:Type model:CMN_KeyValue}">
<TextBlock Text="{Binding Title}"/>
</DataTemplate>
<xctk:CheckComboBox Grid.Row="2" Grid.Column="1" HorizontalAlignment="Stretch" Margin="5,2,5,2" VerticalAlignment="Stretch" ItemsSource="{Binding Genders}" SelectedItemsOverride="{Binding SelectedGenders}" ItemTemplate="{StaticResource DisplayTemplate}"/>
```
I use 2.1 version
Comments: ** Comment from web user: BoucherS **
Hi,
The CheckComboBox is an ItemsControl. The ItemsControl class contains the property "ItemTemplate", which is : "Gets or sets the DataTemplate used to display each item.".
ref : http://msdn.microsoft.com/query/dev11.query?appId=Dev11IDEF1&l=EN-US&k=k(System.Windows.Controls.ItemsControl.ItemTemplate);k(ItemTemplate);k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.5);k(DevLang-csharp)&rd=true
So the ItemTemplate will set how each items in the dropbox is shown.
The ItemsControl class also contains the property "DisplayMemberPath", which is "Gets or sets a path to a value on the source object to serve as the visual representation of the object.".
ref : http://msdn.microsoft.com/en-us/library/vstudio/system.windows.controls.itemscontrol.displaymemberpath(v=vs.100).aspx
So the DisplayMemberPath will be used to get the property named "Value of DisplayMemberPath " on the object and display its content : in the dropbox and in the comboBox.
The CheckComboBox has a "Text" property, which is a string of all the selected objects, and this string is the one displayed in the comboBox. When the selection changes, in CheckComboBox.GetItemDisplayValue( object item ), if "DisplayMemberPath" is not null, the "Value of DisplayMemberPath" is obtained on each selectedObject to build the CheckComboBox.Text property. That is why the comboBox has the correct text when "DisplayMemberPath" is used.
Bu if the property CheckComboBox.ItemTemplate is used, we have no ways of knowing what property is used to display the objects. That is why the object name is returned as the content of the CheckComboBox.Text property.