Spread Windows Forms 6.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 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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