HistoryInsertCutCopiedCellsCommand Class
Command file to maintain the Undo/ redo operation for the shiftcells and insert row/column operation.
Inheritance
System.Object
HistoryInsertCutCopiedCellsCommand
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class HistoryInsertCutCopiedCellsCommand : HistoryCommand
Constructors
HistoryInsertCutCopiedCellsCommand(IRange, IRange, IRange, SfSpreadsheet, GridRangeInfoType, String, String)
Declaration
public HistoryInsertCutCopiedCellsCommand(IRange copiedContent, IRange pastingContent, IRange activeRange, SfSpreadsheet sfSpreadsheet, GridRangeInfoType type, string copiedSheetName, string pastedSheetName)
Parameters
Type |
Name |
Description |
IRange |
copiedContent |
|
IRange |
pastingContent |
|
IRange |
activeRange |
|
SfSpreadsheet |
sfSpreadsheet |
|
Syncfusion.UI.Xaml.CellGrid.GridRangeInfoType |
type |
|
System.String |
copiedSheetName |
|
System.String |
pastedSheetName |
|
HistoryInsertCutCopiedCellsCommand(IRange, IRange, IRange, SfSpreadsheet, String, String, String)
Declaration
public HistoryInsertCutCopiedCellsCommand(IRange sourceRange, IRange destinationRange, IRange copiedContent, SfSpreadsheet sfSpreadsheet, string shiftType, string copiedSheetName, string pastedSheetName)
Parameters
Type |
Name |
Description |
IRange |
sourceRange |
|
IRange |
destinationRange |
|
IRange |
copiedContent |
|
SfSpreadsheet |
sfSpreadsheet |
|
System.String |
shiftType |
|
System.String |
copiedSheetName |
|
System.String |
pastedSheetName |
|
Methods
Execute(CommandMode)
Declaration
public override void Execute(CommandMode mode)
Parameters
Overrides