Spread Windows Forms 7.0 Product Documentation
CellDragDropUndoAction Constructor
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.UndoRedo Namespace > CellDragDropUndoAction Class : CellDragDropUndoAction Constructor


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

Glossary Item Box

Creates a new undo action for a cell for the drag and drop operation.

Syntax

Visual Basic (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 _
)
Visual Basic (Usage)Copy Code
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)
C# 
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.