VisualTreeHelper Class
Silverlight
Provides utility methods that can used to traverse object relationships (along child object or parent object axes) in the Silverlight visual tree.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
The VisualTreeHelper type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | FindElementsInHostCoordinates(Point, UIElement) | Retrieves a set of objects that are located within a specified point of an object's coordinate space. |
![]() ![]() | FindElementsInHostCoordinates(Point, Window) | Retrieves a set of objects that are located within a specified point of a window's coordinate space. |
![]() ![]() ![]() | FindElementsInHostCoordinates(Rect, UIElement) | Retrieves a set of objects that are located within a specified Rect of an object's coordinate space. |
![]() ![]() | FindElementsInHostCoordinates(Rect, Window) | Retrieves a set of objects that are located within a specified Rect of a window's coordinate space. |
![]() ![]() ![]() | GetChild | Using the provided index, obtains a specific child object of the provided object by examining the visual tree. |
![]() ![]() ![]() | GetChildrenCount | Returns the number of children that exists in an object's child collection in the visual tree. |
![]() ![]() ![]() | GetOpenPopups() | Gets all open Popup controls. |
![]() ![]() | GetOpenPopups(Window) | Gets all open Popup controls. |
![]() ![]() ![]() | GetParent | Returns an object's parent object in the visual tree. |
![]() ![]() | GetRoot | Returns an object's root object in the visual tree. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.


