P
Phill. W
Am I missing something here?
I have a simple class that exposes String properties called "Key"
and "Description".
I have a Control inherited from a ComboBox, into whose Items
collection I've added instances of the above class. The [inherited]
ComboBox's ValueMember is set to "Key" and its DisplayMember
to "Description".
Should the "text" part of the ComboBox display only the value
retrieved through the ValueMember "mechanism" and, if not, how
can(?) I persuade it to?
TIA,
Phill W.
I have a simple class that exposes String properties called "Key"
and "Description".
I have a Control inherited from a ComboBox, into whose Items
collection I've added instances of the above class. The [inherited]
ComboBox's ValueMember is set to "Key" and its DisplayMember
to "Description".
Should the "text" part of the ComboBox display only the value
retrieved through the ValueMember "mechanism" and, if not, how
can(?) I persuade it to?
TIA,
Phill W.