ChildElementFromPoint Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
'Declaration
Public Function ChildElementFromPoint ( _
x As Integer, _
y As Integer _
) As UIElement
public UIElement ChildElementFromPoint(
int x,
int y
)
public:
UIElement^ ChildElementFromPoint(
int x,
int y
)
member ChildElementFromPoint :
x:int *
y:int -> UIElement
public function ChildElementFromPoint(
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 most recently created or inserted child control appearing at the specified point, if there is one, 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.