Base List ControlValue Member Property
Gets or sets a string that specifies the property of the data source from which to draw the value
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public string ValueMember { get; set; }VB
Public Property ValueMember As String
Get
SetC++
public:
property String^ ValueMember {
String^ get ();
void set (String^ value);
}F#
member ValueMember : string with get, setProperty Value
StringThe default value is an empty string. Specify a value to bind the data to a property. Clear it by setting it to an empty string or null.
Setting a new value member will raise the ValueMemberChanged and SelectedValueChanged events.
Exceptions
| ArgumentException | This is thrown if the value member cannot be found in the data source. |