[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Data.SpreadDataColumn

SpreadDataColumn Class

Represents the schema of a column in a SpreadDataView.

Inheritance
SpreadDataColumn
Namespace: FarPoint.Win.Spread.Data
Assembly: FarPoint.Win.Spread.dll
Syntax
public class SpreadDataColumn : INotifyPropertyChanged
Public Class SpreadDataColumn
    Implements INotifyPropertyChanged

Constructors

Name Description
SpreadDataColumn()

Creates a new Spread data column (no name) where the data type of the column is string.

SpreadDataColumn(string)

Creates a new Spread data column where the data type of the column is string.

SpreadDataColumn(string, Type)

Creates a new Spread data column with the specified data type.

Fields

Name Description
DEFAULT_COLUMN_NAME

This is the default name of new column. When a column is initailized without column name parameter, this name is used as the default name.

Properties

Name Description
AllowDBNull

Gets or sets whether null values are allowed in this column for rows that belong to the table.

Caption

Gets or sets the caption for the column.

ColumnName

Gets the name of the column in the Spread data column collection.

DataType

Gets the type of data stored in the column.

Formatter

Gets or sets the data formatter which is used to transfer data between the data model and the Spread data view.

Ordinal

Gets the position of the column in the Spread data column collection.

Methods

Name Description
OnPropertyChanged(string)

Occurs when a property is changed.

Events

Name Description
PropertyChanged

Occurs when a property changes.