menu

WinForms

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

    Show / Hide Table of Contents

    Class HistoryHAlignCommand

    Class which holds the memory transaction history of Horizontal Alignment command.

    Inheritance
    System.Object
    HistoryCommandBase
    HistoryCommand
    HistoryHAlignCommand
    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 HistoryHAlignCommand : HistoryCommand

    Constructors

    HistoryHAlignCommand(IRange, Spreadsheet)

    Initializes a new instance of the HistoryHAlignCommand class.

    Declaration
    public HistoryHAlignCommand(IRange range, Spreadsheet sfSpreadsheet)
    Parameters
    Type Name Description
    IRange range

    Excel range

    Spreadsheet sfSpreadsheet

    An instance of Spreadsheet.

    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