Visual.IsAncestorOf(DependencyObject) Método
Definición
Determina si el objeto visual es un antecesor del objeto visual descendiente.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
Parámetros
- descendant
- DependencyObject
Valor de tipo DependencyObject.A value of type DependencyObject.
Devoluciones
Es true
si el objeto visual es un antecesor de descendant
; de lo contrario, es false
.true
if the visual object is an ancestor of descendant
; otherwise, false
.