menu

Blazor

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

    Show / Hide Table of Contents

    Class ConnectionController

    Represents the class that helps to connect the connector with the node.

    Inheritance
    System.Object
    CommonController
    InteractionControllerBase
    ConnectionController
    ConnectorDrawingController
    Inherited Members
    InteractionControllerBase.CurrentPosition
    InteractionControllerBase.InAction
    InteractionControllerBase.PreviousPosition
    InteractionControllerBase.StartPosition
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ConnectionController : InteractionControllerBase

    Methods

    OnMouseDown(DiagramMouseEventArgs)

    This method triggers when the mouse pointer is moved over the connector target point or source point and a mouse button is clicked.

    Declaration
    public override void OnMouseDown(DiagramMouseEventArgs args)
    Parameters
    Type Name Description
    DiagramMouseEventArgs args

    DiagramMouseEventArgs

    Overrides
    InteractionControllerBase.OnMouseDown(DiagramMouseEventArgs)

    OnMouseLeave(DiagramMouseEventArgs)

    This method triggers when the mouse pointer leaves the connector source or target point.

    Declaration
    public override void OnMouseLeave(DiagramMouseEventArgs args)
    Parameters
    Type Name Description
    DiagramMouseEventArgs args

    Specifies the information about the mouse events

    Overrides
    InteractionControllerBase.OnMouseLeave(DiagramMouseEventArgs)

    OnMouseMove(DiagramMouseEventArgs)

    This method triggers when the mouse button is clicked on the connector end thumb and the thumb is moved over the diagram.

    Declaration
    public override bool OnMouseMove(DiagramMouseEventArgs args)
    Parameters
    Type Name Description
    DiagramMouseEventArgs args

    Specifies the information about the mouse events

    Returns
    Type Description
    System.Boolean

    IsConnected

    Overrides
    InteractionControllerBase.OnMouseMove(DiagramMouseEventArgs)

    OnMouseUp(DiagramMouseEventArgs)

    This method triggers when the mouse pointer is moved over the connector and a mouse button is released.

    Declaration
    public override void OnMouseUp(DiagramMouseEventArgs args)
    Parameters
    Type Name Description
    DiagramMouseEventArgs args

    Specifies the information about the mouse events

    Overrides
    InteractionControllerBase.OnMouseUp(DiagramMouseEventArgs)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved