GetPointerTarget Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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)
Syntax
'Declaration
Public Function GetPointerTarget ( _
x As Integer, _
y As Integer _
) As UIElement
public UIElement GetPointerTarget(
int x,
int y
)
public:
UIElement^ GetPointerTarget(
int x,
int y
)
member GetPointerTarget :
x:int *
y:int -> UIElement
public function GetPointerTarget(
x : int,
y : int
) : UIElement
Parameters
- x
Type: System. . :: . .Int32
The X coordinate of the point in question.
- y
Type: System. . :: . .Int32
The Y coordinate of the point in question.
Return Value
Type: Microsoft.SPOT.Presentation. . :: . .UIElement
The visible child that contains the specified point, or nullNothingnullptrunita null reference (Nothing in Visual Basic) 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.