Class ConnectionController
Represents the class that helps to connect the connector with the node.
Inheritance
System.Object
ConnectionController
Inherited Members
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
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
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
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 |