Visual.IsAncestorOf(DependencyObject) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si l'objet visuel est un ancêtre de l'objet visuel descendant.
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
Paramètres
- descendant
- DependencyObject
Valeur de type DependencyObject.
Retours
true si l'objet visuel est un ancêtre de descendant ; sinon, false.