Initializes a new instance of the
ListColumnInfo class with settings.
Syntax
'Declaration
Public Function New( _
ByVal As Boolean, _
ByVal As DataDisplayType, _
ByVal As String, _
ByVal As DefaultSubItemInfo, _
ByVal As IComparer, _
ByVal As SortOrder, _
ByVal As Boolean, _
ByVal As Integer _
)
'Usage
Dim autoWidth As Boolean
Dim dataType As DataDisplayType
Dim dataPropertyName As String
Dim defaultSubItem As DefaultSubItemInfo
Dim sortComparer As IComparer
Dim sortOrder As SortOrder
Dim visible As Boolean
Dim width As Integer
Dim instance As New ListColumnInfo(autoWidth, dataType, dataPropertyName, defaultSubItem, sortComparer, sortOrder, visible, width)
public ListColumnInfo(
bool ,
DataDisplayType ,
string ,
DefaultSubItemInfo ,
IComparer ,
SortOrder ,
bool ,
int
)
Parameters
- autoWidth
- If set to true [auto width].
- dataType
- A DataDisplayType value that represents the display type of the column.
- dataPropertyName
- A System.String value that indicates the property name of the data source.
- defaultSubItem
- A DefaultSubItemInfo object that represents the default subitem of the column.
- sortComparer
- An System.Collections.IComparer value that indicates the comparer for sorting.
- sortOrder
- A SortOrder value that indicates the order for sorting.
- visible
- If set to true the column is visiable; otherwise, false.
- width
- An System.Int32 value that represents the Width of the column.
See Also