Class HistoryInsertCutCopiedCellsCommand
Command file to maintain the Undo/ redo operation for the shiftcells and insert row/column operation.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Spreadsheet.HistoryManager
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class HistoryInsertCutCopiedCellsCommand : HistoryCommand
Constructors
HistoryInsertCutCopiedCellsCommand(IRange, IRange, IRange, Spreadsheet, GridRangeInfoType, String, String)
Declaration
public HistoryInsertCutCopiedCellsCommand(IRange copiedContent, IRange pastingContent, IRange activeRange, Spreadsheet sfSpreadsheet, GridRangeInfoType type, string copiedSheetName, string pastedSheetName)
Parameters
Type | Name | Description |
---|---|---|
IRange | copiedContent | |
IRange | pastingContent | |
IRange | activeRange | |
Spreadsheet | sfSpreadsheet | |
GridRangeInfoType | type | |
System.String | copiedSheetName | |
System.String | pastedSheetName |
HistoryInsertCutCopiedCellsCommand(IRange, IRange, IRange, Spreadsheet, String, String, String)
Declaration
public HistoryInsertCutCopiedCellsCommand(IRange sourceRange, IRange destinationRange, IRange copiedContent, Spreadsheet sfSpreadsheet, string shiftType, string copiedSheetName, string pastedSheetName)
Parameters
Type | Name | Description |
---|---|---|
IRange | sourceRange | |
IRange | destinationRange | |
IRange | copiedContent | |
Spreadsheet | sfSpreadsheet | |
System.String | shiftType | |
System.String | copiedSheetName | |
System.String | pastedSheetName |
Methods
Execute(CommandMode)
Declaration
public override void Execute(CommandMode mode)
Parameters
Type | Name | Description |
---|---|---|
CommandMode | mode |