menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HistoryMergeCommand - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HistoryMergeCommand

    Class which holds the memory transaction history of Merge command.

    Inheritance
    System.Object
    HistoryCommandBase
    HistoryCommand
    HistoryMergeCommand
    Inherited Members
    HistoryCommand.Description
    HistoryCommand.Pop(CommandMode)
    HistoryCommand.SetDescription(String)
    HistoryCommandBase.Range
    HistoryCommandBase.SfSpreadsheet
    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).

    Overrides
    HistoryCommand.Execute(CommandMode)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved