Hello,
please have a look at this example. I tried to extract a problem from my real apps, but actually get different results. There seems to be a basic problems doing so:
<
="MainWindow"
="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
="http://schemas.microsoft.com/winfx/2006/xaml"
="clr-namespace:WpfApplication1"
="http://infragistics.com/DataPresenter"
="http://infragistics.com/Editors">
>
="XamDataGrid1" >
/>
="False"/>
="DynEnumItem.Label"
="TwoWay">
="igEditors:XamComboEditor"
="True"
="igEditors:XamComboEditor">
="ItemsSource"
="SelectedItem"
="DisplayMemberPath"
="Label">
</
Imports
System.ComponentModel
Class
MainWindow
End
Public
CRecords
)
()}
).GetEnumerator
.Items.GetEnumerator
Function
.GetEnumerator
CRecord
INotifyPropertyChanged
.Print(aMsg)
Sub
CDynEnumItem
Get
.DynEnumItemValues.ElementAt(1)
.DynEnumItemM
Then
Else
If
' If value Is Nothing Then value = Me.DynEnumItemValues.ElementAt(0)
Try
ArgumentNullException
.DynEnumItemM = value
Exception
.DebugPrint(ex.Message)
ex
Set
Property
)}
.DynEnumItemValuesM
.PropertyChanged
(aPropertyName))
.Label = aLabel
String
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post and the code you provided and I created a sample project for you using your code. Basically I set the XamComboEditor’s ValuePath to your underlying object’s Label Property and now everything works as expected.
Feel free to write me if you have further questions.