alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class SelectionChangingEventArgs

    Notifies before the select or deselect any objects from the diagram.

    Inheritance
    object
    SelectionChangedEventArgs
    SelectionChangingEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    SelectionChangedEventArgs.ActionTrigger
    SelectionChangedEventArgs.NewValue
    SelectionChangedEventArgs.OldValue
    SelectionChangedEventArgs.Type
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SelectionChangingEventArgs : SelectionChangedEventArgs
    Examples
    <SfDiagramComponent SelectionChanging="@SelectionChanging">
    </SfDiagramComponent>
    private void SelectionChanging(SelectionChangingEventArgs args)
    {
         if (args.NewValue[0] is Node)
        {
           args.Cancel = true;
        }
    }

    Constructors

    SelectionChangingEventArgs()

    Declaration
    public SelectionChangingEventArgs()

    Properties

    Cancel

    Gets or sets the value indicates whether the element can be selected.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    bool

    true, if the element is canceled. Otherwise, false.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved