Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1MenuItem Class / IsAncestorOf(C1HierarchicalPresenter) Method
The descendant C1HierarchicalPresenter.

In This Topic
    IsAncestorOf(C1HierarchicalPresenter) Method
    In This Topic
    Determines whether the C1HierarchicalPresenter is an ancestor of the descendant element.
    Syntax
    'Declaration
     
    
    Public Function IsAncestorOf( _
       ByVal descendant As C1HierarchicalPresenter _
    ) As Boolean
    public bool IsAncestorOf( 
       C1HierarchicalPresenter descendant
    )

    Parameters

    descendant
    The descendant C1HierarchicalPresenter.
    See Also