Share via


UIElement.ChildElementFromPoint Method

Returns the most recently created child control that is located at a specified point on the display.

Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public UIElement ChildElementFromPoint (
         intx,
         inty
)

Parameters

  • x
    The X coordinate of the point in question.
  • y
    The Y coordinate of the point in question.

Return Value

Returns the most recently created or inserted child control appearing at the specified point, if there is one, or null if none is found.

Remarks

The GetPointerTarget method only returns a child element that is visible, whereas the ChildElementFromPoint method returns the most recently created or inserted child element that contains the specified point, whether or not that element is visible.

Version Information

Available in .NET Micro Framework version 3.0 and above.

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace