'Declaration Public Shared Function GetFirstChildOfType(Of T As DependencyObject)( _ ByVal e As FrameworkElement _ ) As T
public static T GetFirstChildOfType<T>( FrameworkElement e ) where T: DependencyObject
Parameters
- e
- Parent element.
Type Parameters
- T
- Type to look for.
Return Value
Element's first child of type T (or the element itself if it is of type T).