Share via


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

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

See Also

Reference

UIElement Class

Microsoft.SPOT.Presentation Namespace