Class CommonController
Represents the class for all common tools.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public abstract class CommonController : Object
Constructors
CommonController()
Declaration
protected CommonController()
Methods
OnMouseDown(DiagramMouseEventArgs)
This method triggers when the mouse pointer is moved over the diagram element and a mouse button is pressed.
Declaration
public virtual void OnMouseDown(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |
OnMouseLeave(DiagramMouseEventArgs)
This method triggers when the mouse pointer leaves the diagram element.
Declaration
public virtual void OnMouseLeave(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |
OnMouseMove(DiagramMouseEventArgs)
This method triggers when the mouse pointer is moved over the diagram element.
Declaration
public virtual bool OnMouseMove(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |
Returns
Type | Description |
---|---|
System.Boolean | Blocked |
OnMouseUp(DiagramMouseEventArgs)
This method triggers when the mouse pointer is moved over the diagram element and a mouse button is released.
Declaration
public virtual void OnMouseUp(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |