Returns all the parents in the visual tree
Namespace:
C1.PhoneAssembly: C1.Phone (in C1.Phone.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