Search
CompositeNode.GetComponentAt Method
See Also
 





Returns the component at the specified point, expressed in document coordinates.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public virtual ComponentBase GetComponentAt (
    Point point
)

Visual Basic  Copy Code

Public Overridable Function GetComponentAt( _
    point As Point _
) As ComponentBase

 Parameters

point
A Microsoft.Maui.Graphics.Point specifying the point to hit-test, expressed in document coordinates.

 Return Value

An instance of the ComponentBase class identifying the topmost component at the specified point, or null if no component found.

 Remarks

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

 See Also