You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a DataGrid and trying to bind to an Object - it is not working - any ideas?
I can bind to a string List correctly.
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: https://github.com/amrit7/WPFDataGridComboBox
I would like a ComboBox to bind to an Object so that it can Display a Name and also hold an ID.
Then when I change the Name on the ComboBox, I want the ID to be able to update a table correctly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm using a DataGrid and trying to bind to an Object - it is not working - any ideas?
I can bind to a string List correctly.
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:
https://github.com/amrit7/WPFDataGridComboBox
I would like a ComboBox to bind to an Object so that it can Display a Name and also hold an ID.
Then when I change the Name on the ComboBox, I want the ID to be able to update a table correctly.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions