ComboBox
has everything you need: the FormattingEnabled
property, which you should set to true
, and Format
event, where you’ll need to place desired formatting logic. Thus,
myComboBox.FormattingEnabled = true;
myComboBox.Format += delegate(object sender, ListControlConvertEventArgs e)
{
e.Value = GetDescription<HowNice>((HowNice)e.Value);
}