ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / 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.

In This Topic
    MoveRange Method (RowColCollection)
    In This Topic
    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