ViewItem.IsDescendantOf-Methode (Visual)

Ruft einen Wert ab, der angibt, ob das visuelle Objekt ein Nachfolger des angegebenen visuellen Objekts 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 Visual _
) As Boolean
public abstract bool IsDescendantOf(
    Visual ancestor
)
public:
virtual bool IsDescendantOf(
    Visual^ ancestor
) abstract
abstract IsDescendantOf : 
        ancestor:Visual -> bool 
public abstract function IsDescendantOf(
    ancestor : Visual
) : boolean

Parameter

Rückgabewert

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

.NET Framework-Sicherheit

Siehe auch

Referenz

ViewItem Klasse

IsDescendantOf-Überladung

Microsoft.Windows.Design.Interaction-Namespace