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