'Declaration
Public Shared Function GetParentOfType(Of T As DependencyObject)( _ ByVal e As DependencyObject _ ) As T
public static T GetParentOfType<T>( DependencyObject e ) where T: DependencyObject
Parameters
- e
- Child element.
Type Parameters
- T
- Type to look for.