True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / C1TrueDBGrid Class / MoveRelative Method / MoveRelative(Int32,Int32) Method
The number of records to move. A positive value indicates forward movement; a negative value indicates backward movement.
The origin of the relative movement.

In This Topic
    MoveRelative(Int32,Int32) Method
    In This Topic
    Moves the current row positions of the grid by the given offset from the given row.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub MoveRelative( _
       ByVal offset As System.Integer, _
       ByVal row As System.Integer _
    ) 
    public virtual void MoveRelative( 
       System.int offset,
       System.int row
    )

    Parameters

    offset
    The number of records to move. A positive value indicates forward movement; a negative value indicates backward movement.
    row
    The origin of the relative movement.
    See Also