Class HistoryAddingEventArgs
HistoryAddingEventArgs notifies when an entry is added to the undo/redo stack.
Inheritance
System.Object
HistoryAddingEventArgs
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class HistoryAddingEventArgs : Object
Examples
<SfDiagramComponent Width = "1000px" Height="1000px" Click="click">
<DiagramHistoryManager HistoryAdding="@oncanlog" ></DiagramHistoryManager>
</SfDiagramComponent>
@code
{
private void oncanlog(HistoryAddingEventArgs entry)
{
entry.Cancel = false;
}
}
Constructors
HistoryAddingEventArgs()
Declaration
public HistoryAddingEventArgs()
Properties
Cancel
Gets or sets the value that indicates whether to cancel the added or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
Entry
Gets the history object that has been added to the history list.
Declaration
public HistoryEntryBase Entry { get; }
Property Value
Type |
---|
HistoryEntryBase |