[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetView.SetModelRowForViewRow

SetModelRowForViewRow Method

SetModelRowForViewRow(int, int)

Sets the row index in the data model that corresponds to the specified row index in the sheet.

Declaration
public virtual int SetModelRowForViewRow(int viewRow, int modelRow)
Public Overridable Function SetModelRowForViewRow(viewRow As Integer, modelRow As Integer) As Integer
Parameters
Type Name Description
int viewRow

Row index in the sheet

int modelRow

Row index in the data model

Returns
Type Description
int
Exceptions
Type Condition
ArgumentOutOfRangeException

Specified row in the sheet is out of range; must be between -1 and the total number of rows

ArgumentOutOfRangeException

Specified row in the model is out of range; must be between -1 and the total number of rows