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
50
XamDataGrid ComboBoxField to update underlying Text and Value
posted

I have a XamDataGrid with a ComboBoxField.  The ComboBoxField is populated with a list of custom object having 2 important properties: label, ID.

The list of custom objects that populates my XamDataGrid also has label and ID properties.  How can I get my comboboxfield to update both the label and ID for the object?

<igDP:ComboBoxField Name="Label" Label="Object Label" ItemsSource="{Binding RelativeSource={RelativeSource Self}, Path=Owner.DataPresenter.DataContext.Nodes, Mode=TwoWay}" DisplayMemberPath="NameLabel" ValuePath="ID" >

Parents Reply Children
No Data