Spread Windows Forms 12.0 Product Documentation
CellDragDropUndoAction Constructor


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.UndoRedo Namespace > CellDragDropUndoAction Class : CellDragDropUndoAction Constructor
SheetView
Row index of start of range to drag and drop
Column index of start of range to drag and drop
Number of rows in range to drag and drop
Number of columns in range to drag and drop
Target row index
Target column index
True to copy, false to move
Creates a new undo action for a cell for the drag and drop operation.
Syntax
'Declaration
 
Public Function New( _
   ByVal sheetView As SheetView, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer, _
   ByVal targetRow As Integer, _
   ByVal targetColumn As Integer, _
   ByVal copy 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)
public CellDragDropUndoAction( 
   SheetView sheetView,
   int row,
   int column,
   int rowCount,
   int columnCount,
   int targetRow,
   int targetColumn,
   bool 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

Reference

CellDragDropUndoAction Class
CellDragDropUndoAction Members