ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / Extensions Class / GetAllParents Method

In This Topic
    GetAllParents Method
    In This Topic
    Returns all the parents in the visual tree
    Syntax
    'Declaration
     
    Public Shared Function GetAllParents( _
       ByVal elem As Windows.UI.Xaml.FrameworkElement _
    ) As System.Collections.Generic.IList(Of FrameworkElement)
    public static System.Collections.Generic.IList<FrameworkElement> GetAllParents( 
       Windows.UI.Xaml.FrameworkElement elem
    )

    Parameters

    elem

    Return Value

    The list of ancestor framework elements in the visual tree hierarchy
    See Also