Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.UndoRedo Namespace / RowMoveUndoAction Class / RowMoveUndoAction Constructor / RowMoveUndoAction Constructor(SheetView,Int32,Int32,Boolean)
Sheet
Row index
Destination row index
true to move content in SheetView.Models, false to reorder rows


In This Topic
    RowMoveUndoAction Constructor(SheetView,Int32,Int32,Boolean)
    In This Topic
    Creates a new undo action for row moving.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal sheetView As SheetView, _
       ByVal row As Integer, _
       ByVal movedToRow As Integer, _
       ByVal moveContent As Boolean _
    )
    'Usage
     
    
    Dim sheetView As SheetView
    Dim row As Integer
    Dim movedToRow As Integer
    Dim moveContent As Boolean
     
    Dim instance As New RowMoveUndoAction(sheetView, row, movedToRow, moveContent)
    public RowMoveUndoAction( 
       SheetView sheetView,
       int row,
       int movedToRow,
       bool moveContent
    )

    Parameters

    sheetView
    Sheet
    row
    Row index
    movedToRow
    Destination row index
    moveContent
    true to move content in SheetView.Models, false to reorder rows
    See Also