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


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > ColumnInfo Class > ColumnInfo Constructor : ColumnInfo Constructor(String,Type,Int32,Int32,ColumnSortDirection)
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.
A value representing, in pixels, the width of the column.
A value representing the order in which the column was sorted.
A ColumnSortDirection value representing the direction in which the column is sorted.
Initializes a new instance of the ColumnInfo class specifying various characteristics.
Syntax
'Declaration
 
Public Function New( _
   ByVal columnName As String, _
   ByVal dataType As Type, _
   ByVal width As Integer, _
   ByVal sortIndex As Integer, _
   ByVal sortDirection As ColumnSortDirection _
)
'Usage
 
Dim columnName As String
Dim dataType As Type
Dim width As Integer
Dim sortIndex As Integer
Dim sortDirection As ColumnSortDirection
 
Dim instance As New ColumnInfo(columnName, dataType, width, sortIndex, sortDirection)
public ColumnInfo( 
   string columnName,
   Type dataType,
   int width,
   int sortIndex,
   ColumnSortDirection sortDirection
)

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.
width
A value representing, in pixels, the width of the column.
sortIndex
A value representing the order in which the column was sorted.
sortDirection
A ColumnSortDirection value representing the direction in which the column is sorted.
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