.NET Framework (current version)
Gets or sets a string that specifies the property of the data source from which to draw the value.
System.Windows.Forms (in System.Windows.Forms.dll)
member ValueMember : string with get, set
A string that specifies the property of the data source from which to draw the value.
Specify the contents of the ValueMember property in cases where you bind data.
You can clear the ValueMember property by setting the property to an empty string ("") or null.
Setting a new ValueMember property raises the ValueMemberChanged and SelectedValueChanged events.
Return to top
Available since 1.1