Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SetModelRowForViewRow Method
Row index in the sheet
Row index in the data model


In This Topic
    SetModelRowForViewRow Method
    In This Topic
    Sets the row index in the data model that corresponds to the specified row index in the sheet.
    Syntax
    'Declaration
     
    
    Public Overridable Function SetModelRowForViewRow( _
       ByVal viewRow As Integer, _
       ByVal modelRow As Integer _
    ) As Integer
    'Usage
     
    
    Dim instance As SheetView
    Dim viewRow As Integer
    Dim modelRow As Integer
    Dim value As Integer
     
    value = instance.SetModelRowForViewRow(viewRow, modelRow)
    public virtual int SetModelRowForViewRow( 
       int viewRow,
       int modelRow
    )

    Parameters

    viewRow
    Row index in the sheet
    modelRow
    Row index in the data model
    Exceptions
    ExceptionDescription
    Specified row in the sheet is out of range; must be between -1 and the total number of rows
    Specified row in the model is out of range; must be between -1 and the total number of rows
    See Also