C1.WPF Namespace > Extensions Class : FindParent<T> Method |
'Declaration
<ExtensionAttribute()> Public Shared Function FindParent(Of T As FrameworkElement)( _ ByVal elem As FrameworkElement _ ) As T
'Usage
Dim elem As FrameworkElement Dim value As T value = Extensions.FindParent(Of T)(elem)
[Extension()] public static T FindParent<T>( FrameworkElement elem ) where T: FrameworkElement
[Extension()] public: static T^ FindParentgeneric<typename T> ( FrameworkElement^ elem ) where T: FrameworkElement
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