Export (0) Print
Expand All

UIElement.GetPointerTarget Method

Returns the visible child of this UIElement that contains a specified screen point.

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


public UIElement GetPointerTarget (
         int x,
         int y
)

Parameters

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

Return Value

Returns the visible child UIElement that contains the specified point, or null if none is found.

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.

Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.

Community Additions

ADD
Show:
© 2015 Microsoft