BaseListControlValueMember 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: 2023.4.9.0
public string ValueMember { get; set; }

Property Value

String

The 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

ArgumentExceptionThis is thrown if the value member cannot be found in the data source.

See Also