[]
        
(Showing Draft Content)

FarPoint.Win.Spread.TableView

TableView Class

Represents spread table.

Inheritance
TableView
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(TableView.TableViewTypeConverter))]
public class TableView : ITableRange, ISerializeData, ISerializePresentation, ISerializable, ICloneable
<TypeConverter(GetType(TableView.TableViewTypeConverter))>
Public Class TableView
    Implements ITableRange, ISerializeData, ISerializePresentation, ISerializable, ICloneable

Constructors

Name Description
TableView(SerializationInfo, StreamingContext)

Creates a new TableView from the SerializationInfo object.

TableView(string, string, int, int, int, int)

Creates a TableView object.

TableView(string, string, int, int, int, int, bool, bool)

Creates a TableView object.

Properties

Name Description
BandedColumns

Gets or sets whether to display the banded column style in the table.

BandedRows

Gets or sets whether the banded row style is displayed in the table.

Comment

Gets or sets table comments.

DataRange

Gets the table range area.

DataSource

Gets data source of the TableView.

FilterButtonVisible

Gets or sets whether to display the filter button in the table header row.

FirstColumn

Gets or sets whether to display the first column style in the table.

HeaderRowIndex

Gets header row index.

HeaderRowVisible

Gets or sets whether the header row is visible.

LastColumn

Gets or sets whether to display the last column style in the table.

Name

Gets or sets the table name.

StyleName

Gets or sets the table style name.

TableColumns

Gets the table column collection.

TableDataRowStyle

Gets or sets style information for the table data area.

TableDataRowStyleName

Gets or sets style name for the table data area.

TableHeaderRowStyle

Gets or sets style information for the table header row area.

TableHeaderRowStyleName

Gets or sets style name for the table header row area.

TableTotalRowStyle

Gets or sets style information for the table total row area.

TableTotalRowStyleName

Gets or sets style name for the table total row area.

TotalRowIndex

Gets total row index.

TotalRowVisible

Gets or sets whether the total row is visible.

Methods

Name Description
AddColumns(int, int)

Adds columns to the table.

AddDataRows(int, int)

Add rows into the table data area.

DeserializeEntry(SerializationEntry)

Deserializes for each binary entry.

Filter(int, IFilterItem)

Filters a column in the table.

GetColumnIndex(string)

Gets the column index.

GetColumnName(int)

Gets table column name.

GetDataColumnFormula(int)

Gets column formula from a special column.

GetUniqueColumnName(string, int)

Gets unique name for a table column.

MoveTableColumns(int, int, int)

Moves the columns in the table.

MoveTableRows(int, int, int)

Moves the rows in the table.

RemoveColumns(int, int)

Removes columns from the table.

RemoveDataRows(int, int)

Removes rows from the table data area.

ResetTotalRow()

Resets total row values and formulas.

Resize(int, int, int)

Resizes the table.

SetColumnNames(string[])

Sets the column names for the table. The count of array names must equal the count of table columns. Each element must not be null or empty and each element must be unique (not case sensitive) in the array names.

SetDataColumnFormula(int, string)

Sets data formula in a special column.

Sort()

Sorts the table again using the current table complex sort information setting.

Sort(ComplexSortInfo[])

Performs a table sort using a complex table sort information setting.

Events

Name Description
NameChanged

Occurs when name of the table changed.

NameChanging

Occurs when name of the table is about to change.

PropertyChanged

Occurs when the user changes a property of the table.

PropertyChanging

Occurs when the user is changing a property of the table.

TableRangeChanged

Occurs when table range changed.

TableRangeChanging

Occurs when table range is about to change.