[]
Represents the undo actions for dragging and dropping a range of cells.
public class CellDragDropUndoAction : UndoAction, ICloneable
Public Class CellDragDropUndoAction
Inherits UndoAction
Implements ICloneable
Name | Description |
---|---|
CellDragDropUndoAction(SheetView, int, int, int, int, int, int, bool) | Creates a new undo action for a cell for the drag and drop operation. |
Name | Description |
---|---|
cellInfo | Specifies the previous contents of the target range (before the drag and drop). |
cellInfoSource | Specifies the previous contents of the source range (before the drag and drop), if copy is false. |
column | Specifies the starting column index of the range to drag and drop. |
columnCount | Specifies the number of columns to drag and drop. |
columnInfo | Specifies the column-level contents of the target range (before the drag and drop). |
columnInfoSource | Specifies the column-level contents of source range (before the drag and drop), if copy is false. |
copy | Specifies whether to copy the range (true to copy; false to move). |
rangeGroupInfosSource | The source RangeGroupInfo objects in drag drop range. |
rangeGroupInfosTarget | The target RangeGroupInfo objects in drag drop range. |
row | Specifies the starting row index of the range to drag and drop. |
rowCount | Specifies the number of rows to drag and drop. |
rowInfo | Specifies the row-level contents of the target range (before the drag and drop). |
rowInfoSource | Specifies the row-level contents of source range (before the drag and drop), if copy is false. |
sheetView | Specifies the sheet that contains column resizing. |
targetColumn | Specifies the destination column index for the drag and drop. |
targetRow | Specifies the destination row index for the drag and drop. |
Name | Description |
---|---|
PerformUndoAction(object) | Performs the cell drag-drop. |
SaveUndoState() | This implemenation does nothing, since undo state is passed to the constructor. |
ToString() | Returns a string that represents this object. |
Undo(object) | Undoes the cell drag-drop. |