[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.BaseSheetDataModel

BaseSheetDataModel Class

Represents the partial (abstract) implementation of the ISheetDataModel interface for a data model for a sheet.

Inheritance
BaseSheetDataModel
Namespace: FarPoint.Web.Spread.Model
Assembly: FarPoint.Web.Spread.dll
Syntax
public abstract class BaseSheetDataModel : ISheetDataModel, INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, IChartSupport
Public MustInherit Class BaseSheetDataModel
    Implements ISheetDataModel, INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, IChartSupport

Constructors

Name Description
BaseSheetDataModel()

Properties

Name Description
ColumnCount

Gets or sets the number of columns.

NonEmptyColumnCount

Gets the number of columns that contain data.

NonEmptyRowCount

Gets the number of rows that contain data.

RowCount

Gets or sets the number of rows.

Methods

Name Description
FireChanged(int, int)

Raises the Changed event.

FireChanged(int, int, int, int)

Raises the Changed event.

FireChanged(int, int, int, int, SheetDataModelEventType)

Raises the Changed event.

GetNote(int, int)

Gets the note for a cell at a specified row and column.

GetTag(int, int)

Gets the application data for a cell at a specified row and column.

GetValue(int, int)

Gets the value for a cell at a specified row and column.

IsEditable(int, int)

Determines whether the contents of a cell at a specified row and column are editable.

IsEmpty()

Determines whether the model is empty of data.

IsRowUsed(int)

Determines whether the specified row contains data.

NextNonEmptyColumnInRow(int, int)

Gets the index of the next column in a specified row that contains data.

NextNonEmptyRow(int)

Gets the index of the next row that contains data.

OnChanged(SheetDataModelEventArgs)

Raises the Changed event, and permits derived classes to handle the event without attaching a delegate.

SetNote(int, int, string)

Sets the note for a cell at a specified row and column.

SetTag(int, int, object)

Sets the application data for a cell at a specified row and column.

SetValue(int, int, object)

Sets data for a cell at a specified row and column.

Events

Name Description
Changed

Occurs when the user makes a change to the model that affects the data of the sheet.