Spread Windows Forms 12.0 Product Documentation
ListColumnInfo Constructor(Boolean,DataDisplayType,String,DefaultSubItemInfo,IComparer,SortOrder,Boolean,Int32)


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.
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)
public ListColumnInfo( 
   bool autoWidth,
   DataDisplayType dataType,
   string dataPropertyName,
   DefaultSubItemInfo defaultSubItem,
   IComparer sortComparer,
   SortOrder sortOrder,
   bool visible,
   int 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

Reference

ListColumnInfo Class
ListColumnInfo Members
Overload List