'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()> Public Shared Function GetAllParents( _ ByVal elem As System.Windows.FrameworkElement _ ) As System.Collections.Generic.IList(Of FrameworkElement)
'Usage
Dim elem As System.Windows.FrameworkElement Dim value As System.Collections.Generic.IList(Of FrameworkElement) value = Extensions.GetAllParents(elem)
[System.Runtime.CompilerServices.Extension()] public static System.Collections.Generic.IList<FrameworkElement> GetAllParents( System.Windows.FrameworkElement elem )
Parameters
- elem
Return Value
The list of ancestor framework elements in the visual tree hierarchy