Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EditorHistoryModule

    Show / Hide Table of Contents

    Class EditorHistoryModule

    Represents the editor history module in DocumentEditor.

    Inheritance
    System.Object
    EditorHistoryModule
    Namespace: Syncfusion.Blazor.DocumentEditor
    Assembly: Syncfusion.Blazor.DocumentEditor.dll
    Syntax
    public class EditorHistoryModule : Object

    Constructors

    EditorHistoryModule(SfDocumentEditor)

    Initializes a new instance of the EditorHistoryModule class. Default constructor for EditorHistory.

    Declaration
    public EditorHistoryModule(SfDocumentEditor baseComponent)
    Parameters
    Type Name Description
    SfDocumentEditor baseComponent

    An DocumentEdiorComponent instance.

    Properties

    DocumentEditor

    DocumentEdiorComponent instance.

    Declaration
    protected SfDocumentEditor DocumentEditor { get; set; }
    Property Value
    Type Description
    SfDocumentEditor

    Methods

    CanRedoAsync()

    Check if redo operation can be done.

    Declaration
    public Task<bool> CanRedoAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    Returns an asynchronous operation.

    CanUndoAsync()

    Check if redo operation can be done.

    Declaration
    public Task<bool> CanUndoAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    Returns an asynchronous operation.

    GetRedoLimitAsync()

    Gets the limit of redo operations can be done.

    Declaration
    public Task<int> GetRedoLimitAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    Returns an asynchronous operation.

    RedoAsync()

    Performs the last reverted action.

    Declaration
    public Task RedoAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    Returns an asynchronous operation.

    SetRedoLimitAsync(Int32)

    Sets the limit of redo operations can be done.

    Declaration
    public void SetRedoLimitAsync(int value)
    Parameters
    Type Name Description
    System.Int32 value

    Redo limit value.

    UndoAsync()

    Reverts the last editing action.

    Declaration
    public Task UndoAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    Returns an asynchronous operation.

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