Creates a new undo action for row moving.
Syntax
'Declaration
Public Function New( _
ByVal As SheetView, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Boolean _
)
'Usage
Dim sheetView As SheetView
Dim row As Integer
Dim movedToRow As Integer
Dim movedRowCount As Integer
Dim moveContent As Boolean
Dim instance As New RowMoveUndoAction(sheetView, row, movedToRow, movedRowCount, moveContent)
public RowMoveUndoAction(
SheetView ,
int ,
int ,
int ,
bool
)
Parameters
- sheetView
- Sheet
- row
- Row index
- movedToRow
- Destination row index
- movedRowCount
- Number of rows to move
- moveContent
- true to move content in SheetView.Models, false to reorder rows
See Also