Język

Visual.IsAncestorOf(DependencyObject) Metoda

Definicja

Określa, czy obiekt wizualizacji jest obiektem nadrzędnym obiektu wizualizacji potomnej.

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

Parametry

descendant
DependencyObject

Wartość typu DependencyObject.

Zwraca

true jeśli obiekt wizualizacji jest obiektem nadrzędnym descendant; w przeciwnym razie false.

Dotyczy