Search code examples
winformscheckedlistbox

No DisplayMember in CheckedListBox in WinForms .Net 3.5


What should I use instead? I've tried DataBindings.Add , but my data were not loaded I have data structure with 3 properties: ID, Name and e.g. Description. I want to load the whole data to the list, but to show only Name property. Usually I use DisplayMember for this purpose, but I here I couldn't find it.


Solution

  • It's called DisplayMember. MSDN link.