Class EditorHistoryModule
Represents the editor history module in DocumentEditor.
Inheritance
System.Object
EditorHistoryModule
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class EditorHistoryModule : Object
Constructors
EditorHistoryModule(BaseComponent)
Default constructor for EditorHistory.
Declaration
public EditorHistoryModule(BaseComponent baseComponent)
Parameters
Type | Name | Description |
---|---|---|
BaseComponent | baseComponent | An DocumentEdiorComponent instance. |
Properties
DocumentEditorComponent
DocumentEdiorComponent instance.
Declaration
protected BaseComponent DocumentEditorComponent { get; set; }
Property Value
Type | Description |
---|---|
BaseComponent |
Methods
CanRedo()
Check if redo operation can be done.
Declaration
public Task<bool> CanRedo()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | Returns an asynchronous operation. |
CanUndo()
Check if redo operation can be done.
Declaration
public Task<bool> CanUndo()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | Returns an asynchronous operation. |
GetRedoLimit()
Gets the limit of redo operations can be done.
Declaration
public Task<int> GetRedoLimit()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | Returns an asynchronous operation. |
Redo()
Performs the last reverted action.
Declaration
public Task Redo()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Returns an asynchronous operation. |
SetRedoLimit(Int32)
Sets the limit of redo operations can be done.
Declaration
public void SetRedoLimit(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Redo limit value. |
Undo()
Reverts the last editing action.
Declaration
public Task Undo()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Returns an asynchronous operation. |