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 the .NET Micro Framework versions 3.0, 4.0, and 4.1.
See Also
Reference
UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace