C# 클래스 Microsoft.Phone.Controls.TreeHelpers

Couple of simple helpers for walking the visual tree.
파일 보기 프로젝트 열기: nokiadatagathering/WP7-Official

공개 메소드들

메소드 설명
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.

메소드 상세

GetVisualAncestors() 공개 정적인 메소드

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

GetVisualParent() 공개 정적인 메소드

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