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


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > ComboBoxEditor 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.Grid.Design.ValueMemberConverter,Xceed.Grid.v4.3.Design,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>

<MergablePropertyAttribute(False)>

Public Property ValueMember As String
'Usage
 
Dim instance As ComboBoxEditor

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.Grid.Design.ValueMemberConverter,Xceed.Grid.v4.3.Design,Version=4.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

[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, System.String.Empty.
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

ComboBoxEditor Class
ComboBoxEditor Members