Hi,
The Displaymember is show in the combobox.
Ken
---------------
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:c8241u$2ie$(E-Mail Removed)...
> 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.
>
>
|