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