alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class HistoryAddingEventArgs

    HistoryAddingEventArgs notifies when an entry is added to the undo/redo stack.

    Inheritance
    object
    HistoryAddingEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class HistoryAddingEventArgs
    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
    bool

    Entry

    Gets the history object that has been added to the history list.

    Declaration
    public HistoryEntryBase? Entry { get; }
    Property Value
    Type
    HistoryEntryBase
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved