Edit

Share via


Visual3D.IsAncestorOf(DependencyObject) Method

Definition

Determines whether the visual object is an ancestor of the descendant visual object.

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

Parameters

descendant
DependencyObject

A visual object that is a possible descendant.

Returns

true if the visual object is an ancestor of descendant; otherwise, false.

Applies to