[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ListColumn

ListColumn Class

Represents a ListColumn class to define colunm object.

Inheritance
ListColumn
Implements
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ListColumn : Component, IComponent, IDisposable
<TypeConverter(GetType(ExpandableObjectConverter))>
Public Class ListColumn
    Inherits Component
    Implements IComponent, IDisposable

Constructors

Name Description
ListColumn()

Initializes a new instance of the ListColumn class.

ListColumn(DataDisplayType)

Initializes a new instance of the ListColumn class with display type.

ListColumn(DataDisplayType, DefaultSubItem)

Initializes a new instance of the ListColumn class with settings.

ListColumn(DataDisplayType, DefaultSubItem, int)

Initializes a new instance of the ListColumn class with settings.

ListColumn(DataDisplayType, DefaultSubItem, int, bool)

Initializes a new instance of the ListColumn class with settings.

ListColumn(bool, DataDisplayType, string, DefaultSubItem, IComparer, SortOrder, bool, int)

Initializes a new instance of the ListColumn class with settings.

ListColumn(string)

Initializes a new instance of the ListColumn class with text of header.

Properties

Name Description
AutoWidth

Gets or sets a bool value indicating whether the ListColumn can auto calculate width by content.

DataDisplayType

Gets or sets a value that represents the display type of the value.

DataPropertyName

Gets or sets a string value that represents the name of binding field in current binding datasource.

DefaultSubItem

Gets a value that represents the default subitem.

Header

Gets or sets a value that represents header settings of the ListColumn.

SortComparer

Gets or sets comparer class for sort function.

SortOrder

Gets or sets the sort order.

Visible

Gets or sets a value indicating whether the ListColumn is visible.

Width

Gets or sets a value that represents width of ListColumn.

Methods

Name Description
ResetAutoWidth()

Resets the width of the auto.

ResetDataDisplayType()

Resets the type of the data display.

ResetDefaultSubItem()

Resets the default sub item.

ResetHeader()

Resets the header.

ResetSortComparer()

Resets the sort comparer.

ResetSortOrder()

Resets the sort order.

ResetVisible()

Resets the visible.

ResetWidth()

Resets the width.

ShouldSerializeDefaultSubItem()

Shoulds the serialize default sub item.

ShouldSerializeHeader()

Shoulds the serialize header.

Sort()

Sorts the items in the collection by the column relating SubItems.

Sort(SortOrder, IComparer)

Sorts the items in the collection by the column relating SubItems.