![]() I was thinking that I might require doing some sort of data binding from the XAML code, but I'm not sure why I would need to do this when if I removed the DisplayMemberPath code it would display the object detail, just not the underlying value, therefore I'm not sure why it's no longer displaying anything with that additional line that seems to do as expected from the debugging perspective.Īny advice would be much appreciated, thanks for your time. SelectItemComboBox.DisplayMemberPath = x.ItemDate.ToShortDateString() but I am only getting the Id column which is also the valuemember of my lookupedit. When grid loads the first time, id column should be replace with the displaymember of lookupedit. Item item = new Item(itemDate ,incidentDate, incidentSeverity, incidentDescription) Hello, I am using lookupedit in my grid cell for editing purpose. Hello, I am using lookupedit in my grid cell for editing purpose. ![]() It only displays text and does not contain any selected value. ![]() Seem to be having a problem where I'm trying to set a date property of an object to display within a combo-box selection, the code runs without complaining and when stepping through the code it seems to set the property but when the application is built the selection options display blank rows. The default ComboBox does not work in the same situation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |