ListColumn Constructor(Boolean,DataDisplayType,String,DefaultSubItem,IComparer,SortOrder,Boolean,Int32)
In This Topic
Initializes a new instance of the
ListColumn class with settings.
Syntax
'Declaration
Public Function New( _
ByVal As Boolean, _
ByVal As DataDisplayType, _
ByVal As String, _
ByVal As DefaultSubItem, _
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 DefaultSubItem
Dim sortComparer As IComparer
Dim sortOrder As SortOrder
Dim visible As Boolean
Dim width As Integer
Dim instance As New ListColumn(autoWidth, dataType, dataPropertyName, defaultSubItem, sortComparer, sortOrder, visible, width)
Parameters
- autoWidth
- If set to true [auto width].
- dataType
- A DataDisplayType value that represents display type of the column.
- dataPropertyName
- A System.String value indicates the property name of data source.
- defaultSubItem
- A DefaultSubItem object that represents the default subitem of the column.
- sortComparer
- A System.Collections.IComparer value indicates the comparer for sorting.
- sortOrder
- A SortOrder value indicates the order for sorting.
- visible
- If set to true the column is visiable, otherwise, false.
- width
- A System.Int32 value that represents the Width of the column.
See Also