CellDragDropUndoAction Constructor
In This Topic
Creates a new undo action for a cell for the drag and drop operation.
Syntax
'Declaration
Public Function New( _
ByVal As SheetView, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer, _
ByVal As Integer, _
ByVal targetColumn As Integer, _
ByVal As Boolean _
)
'Usage
Dim sheetView As SheetView
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim targetRow As Integer
Dim targetColumn As Integer
Dim copy As Boolean
Dim instance As New CellDragDropUndoAction(sheetView, row, column, rowCount, columnCount, targetRow, targetColumn, copy)
Parameters
- sheetView
- SheetView
- row
- Row index of start of range to drag and drop
- column
- Column index of start of range to drag and drop
- rowCount
- Number of rows in range to drag and drop
- columnCount
- Number of columns in range to drag and drop
- targetRow
- Target row index
- targetColumn
- Target column index
- copy
- True to copy, false to move
See Also