ComponentOne FlexGrid for WinForms
MoveRange Method (RowColCollection)

C1.Win.C1FlexGrid Namespace > RowColCollection Class : MoveRange Method
The index of the first row or column in the range to be moved.
The number of rows or columns that will be moved.
New position.
Moves a range of rows or columns to a new position in the collection.
Syntax
'Declaration
 
Public Overridable Sub MoveRange( _
   ByVal index As Integer, _
   ByVal count As Integer, _
   ByVal indexNew As Integer _
) 
public virtual void MoveRange( 
   int index,
   int count,
   int indexNew
)

Parameters

index
The index of the first row or column in the range to be moved.
count
The number of rows or columns that will be moved.
indexNew
New position.
See Also

Reference

RowColCollection Class
RowColCollection Members