ComponentOne True DBGrid for WinForms
MoveRelative(Int32,Int32) Method

C1.Win.C1TrueDBGrid.4 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.
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

Reference

C1TrueDBGrid Class
C1TrueDBGrid Members
Overload List