Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Editors Namespace / ColumnInfo Class / ColumnInfo Constructor / ColumnInfo Constructor(String,Type,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 the order in which the column was sorted.
A ColumnSortDirection value representing the direction in which the column is sorted.


In This Topic
    ColumnInfo Constructor(String,Type,Int32,ColumnSortDirection)
    In This Topic
    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 sortIndex As Integer, _
       ByVal sortDirection As ColumnSortDirection _
    )
    'Usage
     
    Dim columnName As String
    Dim dataType As Type
    Dim sortIndex As Integer
    Dim sortDirection As ColumnSortDirection
     
    Dim instance As New ColumnInfo(columnName, dataType, sortIndex, sortDirection)
    public ColumnInfo( 
       string columnName,
       Type dataType,
       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.
    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.
    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