Xceed Grid for WinForms v4.3 Documentation
WinComboBox Constructor(Object,String,String)


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > WinComboBox Class > WinComboBox Constructor : WinComboBox Constructor(Object,String,String)
The data source used to populate the combobox.
The table to bind to within the dataSource.
A string that specifies the field of the dataSource from which to draw the value.
Initializes a new instance of the WinComboBox class specifying its data binding information.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataSource As Object, _
   ByVal dataMember As String, _
   ByVal valueMember As String _
)
'Usage
 
Dim dataSource As Object
Dim dataMember As String
Dim valueMember As String
 
Dim instance As New WinComboBox(dataSource, dataMember, valueMember)
public WinComboBox( 
   object dataSource,
   string dataMember,
   string valueMember
)

Parameters

dataSource
The data source used to populate the combobox.
dataMember
The table to bind to within the dataSource.
valueMember
A string that specifies the field of the dataSource from which to draw the value.
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
Overload List