Visual.IsAncestorOf(DependencyObject) 메서드

정의

시각적 개체가 하위 시각적 개체의 상위 항목인지 여부를 확인합니다.

public:
 bool IsAncestorOf(System::Windows::DependencyObject ^ descendant);
public bool IsAncestorOf (System.Windows.DependencyObject descendant);
member this.IsAncestorOf : System.Windows.DependencyObject -> bool
Public Function IsAncestorOf (descendant As DependencyObject) As Boolean

매개 변수

descendant
DependencyObject

DependencyObject 형식의 값입니다.

반환

Boolean

시각적 개체가 descendant의 상위 항목이면 true이고, 그렇지 않으면 false입니다.

적용 대상