menu

Blazor

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

    Show / Hide Table of Contents

    Class ConnectorDrawingController

    Represents the class that is used to draw a connector.

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

    Constructors

    ConnectorDrawingController(SfDiagramComponent, DiagramElementAction)

    Initializes a new instance of the ConnectorDrawingController class.

    Declaration
    public ConnectorDrawingController(SfDiagramComponent diagram, DiagramElementAction endPoint)
    Parameters
    Type Name Description
    SfDiagramComponent diagram

    It provides sfdiagramcomponent

    DiagramElementAction endPoint

    It provides diagram element action

    Methods

    OnMouseDown(DiagramMouseEventArgs)

    This method triggers when the mouse pointer is moved over the diagram and a mouse button is pressed.

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

    DiagramMouseEventArgs

    Overrides
    ConnectionController.OnMouseDown(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

    DiagramMouseEventArgs

    Returns
    Type Description
    System.Boolean

    Blocked

    Overrides
    ConnectionController.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

    DiagramMouseEventArgs

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