Xceed Grid for WinForms v4.3 Documentation
ColumnInfo Constructor(String,Type)


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > ColumnInfo Class > ColumnInfo Constructor : ColumnInfo Constructor(String,Type)
A string representing the name of the column.
The datatype of the items contained in the column. The specified datatype will be ignored if the WinComboBox is bound to a datasource.
Initializes a new instance of the ColumnInfo class specifying its name and data type.
Syntax
'Declaration
 
Public Function New( _
   ByVal columnName As String, _
   ByVal dataType As Type _
)
'Usage
 
Dim columnName As String
Dim dataType As Type
 
Dim instance As New ColumnInfo(columnName, dataType)
public ColumnInfo( 
   string columnName,
   Type dataType
)

Parameters

columnName
A string representing the name of the column.
dataType
The datatype of the items contained in the column. The specified datatype will be ignored if the WinComboBox is bound to a datasource.
Remarks

If a width is not set, not all columns may appear in the WinComboBox control's dropdown when it is first opened. The DropDownControl can be resized to see all the columns.

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

ColumnInfo Class
ColumnInfo Members
Overload List