Search
Diagram.HitTestComponents Method
See Also
 





Tests whether the specified point is within a component of a diagram item and returns this component.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ComponentBase HitTestComponents (
    Point point
)

Visual Basic  Copy Code

Public Function HitTestComponents( _
    point As Point _
) As ComponentBase

 Parameters

point
A Microsoft.Maui.Graphics.Point representing the point to test, expressed in document coordinates.

 Return Value

A ComponentBase instance representing the topmost component at the specified point.

 Remarks

This method ignores components with any of the following properties set to false: IsHitTestVisible, IsEnabled, IsInteractive.

 See Also