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


In This Topic
    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 autoWidth As Boolean, _
       ByVal dataType As DataDisplayType, _
       ByVal dataPropertyName As String, _
       ByVal defaultSubItem As DefaultSubItem, _
       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 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