menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CollectionChangedAction - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CollectionChangedAction

    Specifies whether an object is added/removed from the diagram.

    Inheritance
    System.Object
    CollectionChangedAction
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class CollectionChangedAction : Enum
    Examples
    <SfDiagramComponent  SelectionChanging="@OnSelectionChanging">
    </SfDiagramComponent>
    @code
    {
        private void OnSelectionChanging(SelectionChangingEventArgs args)
        {
            if ((args != null) && (args.NewValue != null) && (args.OldValue != null))
            {
                CollectionChangedAction type = args.Type;
            }
        }
    }

    Fields

    Add

    Indicates that the object has been added to the diagram.

    Declaration
    public const CollectionChangedAction Add
    Field Value
    Type
    CollectionChangedAction

    Remove

    Indicates that the object has been removed from the diagram.

    Declaration
    public const CollectionChangedAction Remove
    Field Value
    Type
    CollectionChangedAction
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved