[]
Gets an element's first child of a given type.
public static T GetFirstChildOfType<T>(FrameworkElement e) where T : DependencyObject
| Type | Name | Description |
|---|---|---|
| FrameworkElement | e | Parent element. |
| Type | Description |
|---|---|
| T | Element's first child of type T (or the element itself if it is of type T). |
| Name | Description |
|---|---|
| T | Type to look for. |