[]
Returns all the parents in the visual tree
public static IEnumerable<FrameworkElement> GetAllParents(this FrameworkElement elem)
| Type | Name | Description |
|---|---|---|
| FrameworkElement | elem |
| Type | Description |
|---|---|
| IEnumerable<FrameworkElement> | The list of ancestor framework elements in the visual tree hierarchy |