C# Class Microsoft.Phone.Controls.TreeHelpers

Couple of simple helpers for walking the visual tree.
Afficher le fichier Open project: nokiadatagathering/WP7-Official

Méthodes publiques

Méthode Description
GetVisualAncestors ( this node ) : IEnumerable

Gets the ancestors of the element, up to the root.

GetVisualParent ( this node ) : FrameworkElement

Gets the visual parent of the element.

Method Details

GetVisualAncestors() public static méthode

Gets the ancestors of the element, up to the root.
public static GetVisualAncestors ( this node ) : IEnumerable
node this The element to start from.
Résultat IEnumerable

GetVisualParent() public static méthode

Gets the visual parent of the element.
public static GetVisualParent ( this node ) : FrameworkElement
node this The element to check.
Résultat System.Windows.FrameworkElement