Class SelectionController
Represents the class that helps to select the objects.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class SelectionController : InteractionControllerBase
Constructors
SelectionController(SfDiagramComponent)
Initializes a new instance of the SelectionController class.
Declaration
public SelectionController(SfDiagramComponent diagram)
Parameters
Type | Name | Description |
---|---|---|
SfDiagramComponent | diagram | It provides sfdiagramcomponent |
Methods
OnMouseDown(DiagramMouseEventArgs)
This method triggers when the mouse clicks on the element.
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 selected element.
Declaration
public override void OnMouseLeave(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |
Overrides
OnMouseMove(DiagramMouseEventArgs)
This method triggers when the mouse clicks and drags the selected element.
Declaration
public override bool OnMouseMove(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |
Returns
Type | Description |
---|---|
System.Boolean | Blocked |
Overrides
OnMouseUp(DiagramMouseEventArgs)
This method triggers when the mouse clicks on the selected element.
Declaration
public override void OnMouseUp(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |