Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ListColumnInfo Class / ListColumnInfo Constructor / ListColumnInfo Constructor(Boolean,DataDisplayType,String,DefaultSubItemInfo,IComparer,SortOrder,Boolean,Int32)
If set to true [auto width].
A DataDisplayType value that represents the display type of the column.
A System.String value that indicates the property name of the data source.
A DefaultSubItemInfo object that represents the default subitem of the column.
An System.Collections.IComparer value that indicates the comparer for sorting.
A SortOrder value that indicates the order for sorting.
If set to true the column is visiable; otherwise, false.
An System.Int32 value that represents the Width of the column.


In This Topic
    ListColumnInfo Constructor(Boolean,DataDisplayType,String,DefaultSubItemInfo,IComparer,SortOrder,Boolean,Int32)
    In This Topic
    Initializes a new instance of the ListColumnInfo class with settings.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal autoWidth As Boolean, _
       ByVal dataType As DataDisplayType, _
       ByVal dataPropertyName As String, _
       ByVal defaultSubItem As DefaultSubItemInfo, _
       ByVal sortComparer As IComparer, _
       ByVal sortOrder As SortOrder, _
       ByVal visible As Boolean, _
       ByVal width 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)

    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