'Declaration
<ExtensionAttribute()> Public Shared Function GetAllParents( _ ByVal elem As FrameworkElement _ ) As IList(Of FrameworkElement)
[Extension()] public static IList<FrameworkElement> GetAllParents( FrameworkElement elem )
Parameters
- elem
Return Value
The list of ancestor framework elements in the visual tree hierarchy