Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the visual object is a descendant of the ancestor visual object.
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
Parameters
- ancestor
Type: Microsoft.Windows.Design.Interaction.ViewItem
The ViewItem to test for an ancestor relationship.
Return Value
Type: System.Boolean
true if the ViewItem is a descendant of ancestor; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.