.NET Framework (current version)
Gets or sets the path of the property to use as the actual value for the items in the
System.Windows.Forms (in System.Windows.Forms.dll)
member ValueMember : string with get, set
String representing a single property name of the property value, or a hierarchy of period-delimited property names that resolves to a property name of the final data-bound object. The default is an empty string (""). DataSource
The specified property path cannot be resolved through the object specified by the
Specify the contents of the
property in cases where you bind data. ValueMember
You can clear the
property by setting the property to an empty string ("") or ValueMember null.
Setting a new
property raises the ValueMember ValueMemberChanged and SelectedValueChanged events.
The following code example shows loading the data into an
ArrayList and setting the to a property of the object in the list. ValueMember
No code example is currently available or this language may not be supported.
.NET Framework Available since 1.1 Return to top