Visual3D.IsDescendantOf(DependencyObject) Méthode

Définition

Détermine si l’objet visuel est un descendant de l’objet visuel ancêtre.

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

Paramètres

ancestor
DependencyObject

Objet visuel qui est un ancêtre possible.

Retours

true si l’objet visuel est un descendant de ancestor; sinon, false.

S’applique à