Extends the VisualTreeHelper class. More...
Static Public Member Functions | |
| static IEnumerable< T > | FindChildren< T > (DependencyObject parent, string childName) |
| Find all visual children with matching type and element name. | |
| static IEnumerable< T > | FindChildren< T > (DependencyObject parent) |
| Find all visual children with matching type. | |
| static T | FindVisualParent< T > (this DependencyObject obj) |
| Finds a parent of a certain type of a this item in the visual tree. | |
Extends the VisualTreeHelper class.
|
static |
Find all visual children with matching type.
| T | Type to look for. |
| parent | Node at which to start. |
| T | : | DependencyObject |
|
static |
Find all visual children with matching type and element name.
| T | Type to look for. |
| parent | Node at which to start. |
| childName | Element name to look for. |
| T | : | DependencyObject |
|
static |
Finds a parent of a certain type of a this item in the visual tree.
| T | The type of the queried item. |
| obj | A direct or indirect obj of the queried item. |
| T | : | DependencyObject |