I can't seem to get the XamComboEditor to perfom as I expect. I'm using WPF, 12.1, Net 4.0. I want to bind the ItemsSource to an ObservableCollection of type "Correlation", which contains the properties: 1) Id (int32), LongName (string), ShortName (string). The LongName property should populate the dropdown, the user selects an entry, and the editor portion display the LongName. The Id is what is stored in a CSV file, which is the backing store for the form which contains the XamComboEditor, via my ViewModel public property. The view model public property is of type "Correlation", same as the ObservableCollection for the ItemsSource.
Do you have a full working sample to fit this scenario, or can you provide snippets indicating what XamComboEditor properties to bind to and/or set.
Thanks
Hi,
I'm attaching a very simple sample of a xamComboEditor bound to an ObservableCollection. I think from what you say that the only thing you need is to set the DiplayMemberPath to LongName.
Let me know if you have any questions.
I was wondering if you had a chance to review my sample and if you had any questions.