Class HistoryMergeCommand
Class which holds the memory transaction history of Merge command.
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.History
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class HistoryMergeCommand : HistoryCommand
Constructors
HistoryMergeCommand(Spreadsheet, List<GridRangeInfo>, List<CoveredCellInfo>, SpreadsheetGrid, SpreadsheetGrid)
Initializes a new instance of the HistoryMergeCommand class.
Declaration
public HistoryMergeCommand(Spreadsheet sfSpreadsheet, List<GridRangeInfo> existingCoveredCells, List<CoveredCellInfo> coveredCells, SpreadsheetGrid grid, SpreadsheetGrid sourceGrid)
Parameters
Type | Name | Description |
---|---|---|
Spreadsheet | sfSpreadsheet | An instance of Spreadsheet. |
System.Collections.Generic.List<GridRangeInfo> | existingCoveredCells | Existing covered cells in the SpreadsheetGrid. |
System.Collections.Generic.List<CoveredCellInfo> | coveredCells | Current covered cell range. |
SpreadsheetGrid | grid | An instance of SpreadsheetGrid. |
SpreadsheetGrid | sourceGrid | An instance of SpreadsheetGrid. |
Methods
Execute(CommandMode)
Executes the transaction command in Spreadsheet.
Declaration
public override void Execute(CommandMode mode)
Parameters
Type | Name | Description |
---|---|---|
CommandMode | mode | Holds the current process in SfSpreadsheet(either undo or redo). |