Search
DiagramItem.HitTestHandle Method
See Also
 






Determines whether a selection handle of this item is located at the specified point.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public abstract bool HitTestHandle (
    Point point,
    ref int handle
)

Visual Basic  Copy Code

Public MustOverride Function HitTestHandle( _
    point As Point, _
    ByRef handle As Integer _
) As Boolean

 Parameters

point

A Point value specifying where to look for a selection handle.

handle

A reference to an integer variable, which receives the index of the found selection handle.

 Return Value

true if there is a selection handle at the specified location; otherwise, false.

 Remarks

You might use this method when implementing custom hit-testing by handling the HitTestAdjustmentHandles event for nodes whose HandlesStyle is set to Custom.

 See Also