Class History
Notifies when changes are reverted or restored.
Inheritance
System.Object
History
Implements
System.IEquatable<History>
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public class History : Object, IEquatable<History>
Constructors
History()
Declaration
public History()
Properties
CanLog
Decides whether the changes are stored in the history or not.
Declaration
public object CanLog { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
CanRedo
Sets the history entry can be redo
Declaration
public bool CanRedo { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CanUndo
Sets the history entry can be undo
Declaration
public bool CanUndo { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CurrentEntry
Sets the current entry object
Declaration
public HistoryEntry CurrentEntry { get; set; }
Property Value
Type | Description |
---|---|
HistoryEntry |
EndGroupAction
Used to intimate group action is end
Declaration
public object EndGroupAction { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Push
Stores a history entry to the history list
Declaration
public object Push { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Redo
Used for custom redo action
Declaration
public object Redo { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
RedoStack
Used to store the list of entries in the redo list
Declaration
public List<HistoryEntry> RedoStack { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HistoryEntry> |
StartGroupAction
Used to intimate group action is the start.
Declaration
public object StartGroupAction { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Undo
Used for custom undo action
Declaration
public object Undo { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
UndoStack
Used to store the list of entries in the undo list
Declaration
public List<HistoryEntry> UndoStack { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HistoryEntry> |
Methods
Equals(History)
Indicates whether the History object is equal to another object of the same type.
Declaration
public bool Equals(History history)
Parameters
Type | Name | Description |
---|---|---|
History | history | Notifies when changes are reverted or restored. |
Returns
Type | Description |
---|---|
System.Boolean | Returns the reverted or restored changes |
Implements
System.IEquatable<>