Class HistoryChangedAction
Specifies the state of history actions such as undo and redo.
Inheritance
System.Object
HistoryChangedAction
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class HistoryChangedAction : Enum
Examples
<SfDiagramComponent HistoryChanged="@OnHistoryChanged">
</SfDiagramComponent>
private void OnHistoryChanged(HistoryChangedEventArgs arg)
{
if (arg.Entry != null)
{
HistoryChangedAction historyChangeArgs = arg.ActionTrigger;
}
}
Fields
CustomAction
Defines the history of action as custom action.
Declaration
public const HistoryChangedAction CustomAction
Field Value
Type |
---|
HistoryChangedAction |
Redo
Sets the history action as Redo when performing the redo action.
Declaration
public const HistoryChangedAction Redo
Field Value
Type |
---|
HistoryChangedAction |
Undo
Sets the history action as Undo when performing an undo action.
Declaration
public const HistoryChangedAction Undo
Field Value
Type |
---|
HistoryChangedAction |