[]
        
(Showing Draft Content)

FarPoint.Win.Spread.UndoRedo.RowMoveUndoAction.-ctor

RowMoveUndoAction Constructor

RowMoveUndoAction(SheetView, int, int, bool)

Creates a new undo action for row moving.

Declaration
public RowMoveUndoAction(SheetView sheetView, int row, int movedToRow, bool moveContent)
Public Sub New(sheetView As SheetView, row As Integer, movedToRow As Integer, moveContent As Boolean)
Parameters
Type Name Description
SheetView sheetView

Sheet

int row

Row index

int movedToRow

Destination row index

bool moveContent

true to move content in SheetView.Models, false to reorder rows

RowMoveUndoAction(SheetView, int, int, int, bool)

Creates a new undo action for row moving.

Declaration
public RowMoveUndoAction(SheetView sheetView, int row, int movedToRow, int movedRowCount, bool moveContent)
Public Sub New(sheetView As SheetView, row As Integer, movedToRow As Integer, movedRowCount As Integer, moveContent As Boolean)
Parameters
Type Name Description
SheetView sheetView

Sheet

int row

Row index

int movedToRow

Destination row index

int movedRowCount

Number of rows to move

bool moveContent

true to move content in SheetView.Models, false to reorder rows