[]
Returns the first child visual object of the specified type within a specified parent.
public static DependencyObject GetChildOfType(DependencyObject reference, Type type)
| Type | Name | Description |
|---|---|---|
| DependencyObject | reference | The parent visual, referenced as a DependencyObject. |
| Type | type | The Type of the children element to search for. |
| Type | Description |
|---|---|
| DependencyObject | The visual object of the specified type. |