Xceed Grid for WinForms v4.3 Documentation
ValueMember Property (WinComboBox)


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > WinComboBox Class : ValueMember Property
Gets or sets a string that specifies the field of the data source from which to draw the value.
Syntax
'Declaration
 
<DescriptionAttribute("Specifies the field of the data source from which to draw the value.")>
<CategoryAttribute("Data")>
<TypeConverterAttribute("Xceed.Editors.Design.ValueMemberConverter,Xceed.Grid.v4.3.Design,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
<MergablePropertyAttribute(False)>
Public Property ValueMember As String
'Usage
 
Dim instance As WinComboBox
Dim value As String
 
instance.ValueMember = value
 
value = instance.ValueMember
[Description("Specifies the field of the data source from which to draw the value.")]
[Category("Data")]
[TypeConverter("Xceed.Editors.Design.ValueMemberConverter,Xceed.Grid.v4.3.Design,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
[MergableProperty(false)]
public string ValueMember {get; set;}

Property Value

A string specifying the name of a field of the object specified by the DataSource property. By default, DefaultValueMember.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinComboBox Class
WinComboBox Members