[]
        
(Showing Draft Content)

C1.Win.List.C1DataColumn

C1DataColumn Class

Represents a column that defines binding information for the datasource.

Inheritance
C1DataColumn
Namespace: C1.Win.List
Assembly: C1.Win.List.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class C1DataColumn

Constructors

Name Description
C1DataColumn()

Creates a new instance of this object.

Properties

Name Description
Caption

Gets or sets the text in the column header.

DataChanged

Gets or sets a value indicating whether data in this column has been modified.

DataField

Gets or sets the database field name for a column.

DataWidth

Gets or sets the maximum number of characters which may be entered for cells in this column.

DefaultValue

Gets or sets the default value for a column when a new row is added by the grid.

FooterText

Gets or sets the text displayed in the column footer.

Level

Gets or sets the level of this column in a hierarchical data source.

NumberFormat

Gets or sets the formmating string for a column.

Relation
RelationState
Tag

Gets or sets a user defined objects associated with this column.

Text

Gets or sets the display value for the current cell.

Value

Sets or retrieves the value of the current cell.

ValueItems

Gets the ValueItems object for this column.

Methods

Name Description
CellText(int)

Gets the display value for a cell in a given row.

CellValue(int)

Gets the cell value for a given row.

Refetch()

Repopulate the entire grid from the data source.

RefetchCell()

Repopulates the current cell from the data source.

RefetchCell(int)

Repopulates the specified data from the data source.

Refresh()

Invalidate the current column in all visible rows.

RefreshCell()

Invalidate the current cell.

RefreshCell(int)

Invalidate the cell at the given row.

ToString()