ViewItem.IsDescendantOf-Methode (ViewItem)

Bestimmt, ob das visuelle Objekt ein Nachfolger des visuellen Vorgängerobjekts ist.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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

Parameter

Rückgabewert

Typ: System.Boolean
true, wenn das ViewItem ein Nachfolger von ancestor ist, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

ViewItem Klasse

IsDescendantOf-Überladung

Microsoft.Windows.Design.Interaction-Namespace