Search
ControlNode.ControlMouseAction Property
See Also
 





Gets or sets a value indicating how to handle mouse messages sent to hosted control.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public ControlMouseAction ControlMouseAction { get; set; }

Visual Basic  Copy Code

Public Property ControlMouseAction As ControlMouseAction

 Property Value

A member of the ControlMouseAction enumeration. Initialized with the value of ControlMouseAction.

 Remarks

Control nodes can handle mouse-down messages sent to their controls in several ways, depending on the value of this property.

Value

Description

PassToControl

Let the control handle the mouse click. Do not select the host node.

SelectHost

The host node gets selected when the control is clicked. The control is left to handle the mouse click too.

IgnoreControl

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.

 See Also