[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Data.ISpreadDataViewMapper

ISpreadDataViewMapper Interface

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

Namespace: FarPoint.Web.Spread.Data
Assembly: FarPoint.Web.Spread.dll
Syntax
public interface ISpreadDataViewMapper : INotifyPropertyChanged
Public Interface ISpreadDataViewMapper
    Inherits INotifyPropertyChanged

Properties

Name Description
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 model row when adding a new row. This method is only used when adding a new row to sheetview.

GetModelColumnFromDataViewColumn(int)

Gets the model column from data view column.

GetModelRowFromDataViewRow(int)

Gets the model row from data view row.

IsValid(SheetView)

Determines whether this mapper is valid in the specified sheet.

OnDataModelRowInserted(int)

Occurs when the data model row is inserted.

OnDataModelRowRemoved(int)

Occurs when the data model row is removed.

OnDataReset(int, int, PropertyDescriptor)

Occurs when the data is reset.

OnDataRowAdded(int, int, PropertyDescriptor)

Occurs when the data row is added.

OnDataRowChanged(int, int, PropertyDescriptor)

Occurs when the data row is changed.

OnDataRowDeleted(int, int, PropertyDescriptor)

Occurs when the data row is deleted.

OnDataRowMoved(int, int, PropertyDescriptor)

Occurs when the data row is moved.