VisualTree Class

Definition

Defines a collection of extensions methods for UI.

public static class VisualTree
type VisualTree = class
Public Module VisualTree
Inheritance
VisualTree

Methods

FindAscendant(DependencyObject, Type)

Find first visual ascendant control of a specified type.

FindAscendant<T>(DependencyObject)

Find first visual ascendant control of a specified type.

FindAscendantByName(DependencyObject, String)

Find visual ascendant Windows.UI.Xaml.FrameworkElement control using its name.

FindAscendants(DependencyObject)

Find all visual ascendants for the element.

FindDescendant(DependencyObject, Type)

Find first descendant control of a specified type.

FindDescendant<T>(DependencyObject)

Find first descendant control of a specified type.

FindDescendantByName(DependencyObject, String)

Find descendant Windows.UI.Xaml.FrameworkElement control using its name.

FindDescendants<T>(DependencyObject)

Find all descendant controls of the specified type.

Applies to