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. More... | |
static IEnumerable< T > | FindChildren< T > (DependencyObject parent) |
Find all visual children with matching type. More... | |
static T | FindVisualParent< T > (this DependencyObject obj) |
Finds a parent of a certain type of a this item in the visual tree. More... | |
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 |