Base Combo Box CellDisplay Member Property
Gets or sets a string that specifies the property of the data source whose contents you want to
display.
Definition
Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
The default is an empty string. If not set, the object's ToString() method is used to get the display value.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public string DisplayMember { get; set; }VB
Public Property DisplayMember As String
Get
SetC++
public:
property String^ DisplayMember {
String^ get ();
void set (String^ value);
}F#
member DisplayMember : string with get, setProperty Value
StringThe default is an empty string. If not set, the object's ToString() method is used to get the display value.
Exceptions
| ArgumentException | This is thrown if the display member cannot be found in the data source. |