Visual3D.IsDescendantOf(DependencyObject) Metoda

Definicja

Określa, czy obiekt wizualizacji jest elementem potomnym obiektu wizualizacji nadrzędnych.

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

Parametry

ancestor
DependencyObject

Obiekt wizualny, który jest możliwym elementem nadrzędnym.

Zwraca

true jeśli obiekt wizualizacji jest elementem potomnym ancestor; w przeciwnym razie false.

Dotyczy