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

Boolean

true si l'objet visuel est un descendant d'ancestor ; sinon, false.

S’applique à