Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
xamComboEditor - binding to List<string> does not show selected items - Solution
posted

I am using a xamComboEditor and in XAML bind it to a List<string>.

The items show up fine in the List, but when I select one or more items, the do not show up in the "Textbox" portion of the xamComboEditor, it woudl jsut show a bunch of commas.

What I needed to do was to set "DisplayMemberPath=""" (empty string) in the XAML to make this work.

Hope this helps someone else running into the same issue.

<ig:XamComboEditor Name="xamComboEditor1" Height="23" Width="286"  VerticalAlignment="Top"
                               ItemsSource="{Binding Path=ObservationNameList}"
                               CheckBoxVisibility="Visible"
                               AllowMultipleSelection="True"
                               DisplayMemberPath=""
                               IsEditable="False" />