Combobox does not honor 'Displaymember'
SupremeC opened this issue · comments
David Berglund commented
When the ComboBox has its DisplayMember property set to access a specific property of the displayed items, ToString() may not give the expected text. The fix for this is to use;
GetItemText(Items[e.Index])
Two methods in class 'DarkComboBox' needs to be updated;
- PaintCombobox()
- OnDrawItem(DrawItemEventArgs e)()