menu

WinForms

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

    Show / Hide Table of Contents

    Interface IHistoryManager

    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public interface IHistoryManager

    Methods

    BeginBlock()

    Begins block of commands.

    Declaration
    void BeginBlock()

    CloseBlock()

    Closes block of commands.

    Declaration
    void CloseBlock()

    Do(ICommand)

    Adds command to the history list.

    Declaration
    void Do(ICommand cmd)
    Parameters
    Type Name Description
    ICommand cmd

    Command to add.

    Redo()

    Performs Redo operation.

    Declaration
    bool Redo()
    Returns
    Type Description
    System.Boolean

    True if successful; false otherwise.

    Reset()

    Resets history.

    Declaration
    void Reset()

    RollBack()

    Rolls back last non-closed block.

    Declaration
    void RollBack()

    Undo()

    Performs UnDo operation.

    Declaration
    bool Undo()
    Returns
    Type Description
    System.Boolean

    True if successful; false otherwise.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved