public static IEnumerable<FrameworkElement> GetAllParents( FrameworkElement elem )
Parameters
- elem
Return Value
The list of ancestor framework elements in the visual tree hierarchy
public static IEnumerable<FrameworkElement> GetAllParents( FrameworkElement elem )