Visual.IsDescendantOf(DependencyObject) 메서드

정의

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

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

매개 변수

ancestor
DependencyObject

DependencyObject 형식의 값입니다.

반환

Boolean

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

적용 대상