DataGridComboBox - Binding to an Object #3550
-
Hi, I'm using a DataGrid and trying to bind to an Object - it is not working - any ideas? I've created a very small project to demonstrate what I'm trying - with a few different Combo Boxes - some working with string List Binding, some not with Object Binding: I would like a ComboBox to bind to an Object so that it can Display a Name and also hold an ID. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@amrit7 This likely has nothing to do with MDIX, but rather the lack of implementing |
Beta Was this translation helpful? Give feedback.
@amrit7 This likely has nothing to do with MDIX, but rather the lack of implementing
INotifyPropertyChanged
for the list property bound to the ComboBox ItemSource. The other lists work because you initialize them immediately where as the list where it doesn't work, gets filled in the constructor.