VisualTreeHelper.FindElementsInHostCoordinates methods

Applies to Windows and Windows Phone

Retrieves a set of objects that are located within a specified point or area of an app UI. The set of objects represents the components of a visual tree that share a point or area, and these might be drawing over each other.

Overload list

MethodDescription
FindElementsInHostCoordinates(Rect, UIElement) Retrieves a set of objects that are located within a specified Rect frame of an app UI. The set of objects represents the components of a visual tree that share a rectangular area, and might include elements that overdraw.
FindElementsInHostCoordinates(Point, UIElement) Retrieves a set of objects that are located within a specified x-y coordinate point of an app UI. The set of objects represents the components of a visual tree that share that point.
FindElementsInHostCoordinates(Rect, UIElement, Boolean) Retrieves a set of objects that are located within a specified Rect frame of an app UI. The set of objects represents the components of a visual tree that share a rectangular area, and might include elements that overdraw.
FindElementsInHostCoordinates(Point, UIElement, Boolean) Retrieves a set of objects that are located within a specified x-y coordinate point of an app UI. The set of objects represents the components of a visual tree that share that point.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media
Windows::UI::Xaml::Media [C++]

Metadata

Windows.winmd

See also

VisualTreeHelper
Mouse interactions ("Hit testing" section)

 

 

Show:
© 2014 Microsoft. All rights reserved.