System.Windows.Media Namesp ...


.NET Framework Class Library for Silverlight
VisualTreeHelper Class

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)
Syntax

Visual Basic (Declaration)
Public NotInheritable Class VisualTreeHelper
Visual Basic (Usage)
You do not need to declare an instance of a static class in order to access its members.
C#
public static class VisualTreeHelper
Remarks

A visual tree is a programming concept that is shared between WPF and Silverlight. In WPF, Visual is a class. Silverlight 3 does not expose a Visual class as an extension point, but still provides this helper class so that you can examine the visual tree structure.

Inheritance Hierarchy

System..::.Object
  System.Windows.Media..::.VisualTreeHelper
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Other Resources

Tags :


Page view tracker