Gets or sets a value indicating how to handle mouse messages sent to hosted control.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public ControlMouseAction ControlMouseAction { get; set; } |
Visual Basic Copy Code |
---|
Public Property ControlMouseAction As ControlMouseAction |
A member of the ControlMouseAction enumeration. Initialized with the value of ControlMouseAction.
Control nodes can handle mouse-down messages sent to their controls in several ways, depending on the value of this property.
Value | Description |
---|---|
Let the control handle the mouse click. Do not select the host node. | |
The host node gets selected when the control is clicked. The control is left to handle the mouse click too. | |
MindFusion.Diagramming tries to intercept the mouse message and not pass it to the control. That allows drawing links from anywhere within the control. |
IgnoreControl works only with controls which do not capture the mouse.