Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / MoveRow Method / MoveRow(Int32,Int32,Boolean) Method
Current index of the row to move
New index of the row after the move
Whether to move content


In This Topic
    MoveRow(Int32,Int32,Boolean) Method
    In This Topic
    Moves the specified row from its current index to the specified index, and shifts each row in between and the destination row one row in the direction of the specified row.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub MoveRow( _
       ByVal fromIndex As Integer, _
       ByVal toIndex As Integer, _
       ByVal moveContent As Boolean _
    ) 
    'Usage
     
    
    Dim instance As SheetView
    Dim fromIndex As Integer
    Dim toIndex As Integer
    Dim moveContent As Boolean
     
    instance.MoveRow(fromIndex, toIndex, moveContent)
    public virtual void MoveRow( 
       int fromIndex,
       int toIndex,
       bool moveContent
    )

    Parameters

    fromIndex
    Current index of the row to move
    toIndex
    New index of the row after the move
    moveContent
    Whether to move content
    See Also