Metodo ViewItem.IsDescendantOf (ViewItem)

Determina se l'oggetto visivo è un discendente dell'oggetto visivo predecessore.

Spazio dei nomi:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Sintassi

'Dichiarazione
Public MustOverride Function IsDescendantOf ( _
    ancestor As ViewItem _
) As Boolean
public abstract bool IsDescendantOf(
    ViewItem ancestor
)
public:
virtual bool IsDescendantOf(
    ViewItem^ ancestor
) abstract
abstract IsDescendantOf : 
        ancestor:ViewItem -> bool 
public abstract function IsDescendantOf(
    ancestor : ViewItem
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
true se ViewItem è un discendente di ancestor. In caso contrario, false.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ViewItem Classe

Overload IsDescendantOf

Spazio dei nomi Microsoft.Windows.Design.Interaction