WinUI | ComponentOne
C1.WinUI.Core Assembly / C1.WinUI.Core Namespace / ViewEx Class / GetAllParents Method
In This Topic
    GetAllParents Method
    In This Topic
    Returns all the parents in the visual tree
    Syntax
    public static IEnumerable<FrameworkElement> GetAllParents( 
       FrameworkElement elem
    )

    Parameters

    elem

    Return Value

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