C1.WPF Namespace > Extensions Class : GetAllParents Method |
'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 )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2