[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Data.DefaultSpreadDataViewMapper

DefaultSpreadDataViewMapper Class

Represents the default coordinate mapper from Spread data view to its underlying sheet.

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

Constructors

Properties

Name Description
CellRange

Gets or sets the model data source range.

DataViewColumnCount

Gets the number of columns in the data view.

DataViewRowCount

Gets the number of rows in the data view.

Methods

Name Description
GetDataViewColumnFromModelColumn(int)

Gets the data view column from model column.

GetDataViewRowFromModelRow(int)

Gets the data view row from model row.

GetDataViewRowFromModelRowWhenAddNew(int)

Gets the data view row from the model row when a new row is added. This method is used only when a new row is added to a sheet.

GetModelColumnFromDataViewColumn(int)

Gets the model column from the data view column.

GetModelRowFromDataViewRow(int)

Gets the model row from data view row.

IsValid(SheetView)

Determines whether this cell range is valid in the specified sheet.

OnDataModelRowInserted(int)

Occurs when a data model row is inserted.

OnDataModelRowRemoved(int)

Occurs when a data model row is removed.

OnDataReset(int, int, PropertyDescriptor)

Occurs when a data row is reset.

OnDataRowAdded(int, int, PropertyDescriptor)

Occurs when a data row is added.

OnDataRowChanged(int, int, PropertyDescriptor)

Occurs when a data row is changed.

OnDataRowDeleted(int, int, PropertyDescriptor)

Occurs when a data row is deleted.

OnDataRowMoved(int, int, PropertyDescriptor)

Occurs when a data row is moved.

OnPropertyChanged(string)

Occurs when a property is changed.

Events

Name Description
PropertyChanged

Occurs when a property changes.