Visual.IsAncestorOf(DependencyObject) 메서드
정의
시각적 개체가 하위 시각적 개체의 상위 항목인지 여부를 확인합니다.Determines whether the visual object is an ancestor of the descendant visual object.
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 형식의 값입니다.A value of type DependencyObject.
반환
시각적 개체가 descendant
의 상위 항목이면 true
이고, 그렇지 않으면 false
입니다.true
if the visual object is an ancestor of descendant
; otherwise, false
.