menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConnectionChangingEventArgs - API Reference

    Show / Hide Table of Contents

    Class ConnectionChangingEventArgs

    Notifies before the connector’s source id or target id has changing.

    Inheritance
    System.Object
    ConnectionChangedEventArgs
    ConnectionChangingEventArgs
    Inherited Members
    ConnectionChangedEventArgs.Connector
    ConnectionChangedEventArgs.ConnectorAction
    ConnectionChangedEventArgs.NewValue
    ConnectionChangedEventArgs.OldValue
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ConnectionChangingEventArgs : ConnectionChangedEventArgs
    Examples
    <SfDiagramComponent  ConnectionChanging="ConnectionChanging">
    </SfDiagramComponent>
     private void ConnectionChanging(ConnectionChangingEventArgs args)
    {
       args.Cancel = true;
    }

    Constructors

    ConnectionChangingEventArgs()

    Declaration
    public ConnectionChangingEventArgs()

    Properties

    Cancel

    Defines whether the user can prevent the connection or disconnection of the connector while its endpoint is dragging.

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

    true, if the connection or disconnection can be prevented. Otherwise, false.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved