Returns all the parents in the visual tree
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.dll)
Syntax
C# |
---|
public static IList<FrameworkElement> GetAllParents( this FrameworkElement elem ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function GetAllParents ( _ elem As FrameworkElement _ ) As IList(Of FrameworkElement) |
Parameters
- elem
- Type: System.Windows..::..FrameworkElement