Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Silverlight 3

  Switch on low bandwidth view
This page is specific to
Microsoft Silverlight 3

Other versions are also available for the following:
.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)
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

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.

System..::.Object
  System.Windows.Media..::.VisualTreeHelper
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker