'Declaration Public Function New( _ ByVal columnName As String, _ ByVal dataType As Type, _ ByVal width As Integer, _ ByVal sortIndex As Integer, _ ByVal sortDirection As ColumnSortDirection, _ ByVal visible As Boolean _ )
'Usage Dim columnName As String Dim dataType As Type Dim width As Integer Dim sortIndex As Integer Dim sortDirection As ColumnSortDirection Dim visible As Boolean Dim instance As New ColumnInfo(columnName, dataType, width, sortIndex, sortDirection, visible)
public ColumnInfo( string columnName, Type dataType, int width, int sortIndex, ColumnSortDirection sortDirection, bool visible )
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.
- visible
- true if the column is visible; false otherwise.