DependencyObjectExtensions Class |
Namespace: TomsToolbox.Wpf
The DependencyObjectExtensions type exposes the following members.
Name | Description | |
---|---|---|
Ancestors |
Returns an enumeration of the ancestor elements in the logical tree of this element.
| |
AncestorsAndSelf |
Returns an enumeration of elements that contain this element, and the ancestors in the logical tree of this element.
| |
GetExtent |
Gets the extent of the thickness when applied to an empty rectangle.
| |
GetRootVisual |
Gets the root visual for the item.
| |
GetValueT |
Gets the value of a dependency property using SafeCastT(Object).
| |
GetWindowHandle |
Gets the window handle of the HwndSource hosting this item.
| |
TrackT |
Tracks the changes of the specified property.
| |
TryFindAncestorT(DependencyObject) |
Returns the first element in the ancestor list that implements the type of the type parameter.
| |
TryFindAncestorT(DependencyObject, FuncT, Boolean) |
Returns the first element in the ancestor list that implements the type of the type parameter.
| |
TryFindAncestorOrSelfT(DependencyObject) |
Returns the first element in the ancestor list that implements the type of the type parameter.
| |
TryFindAncestorOrSelfT(DependencyObject, FuncT, Boolean) |
Returns the first element in the ancestor list that implements the type of the type parameter.
| |
TryGetRootVisual |
Gets the root visual for the item.
| |
VisualAncestors |
Returns an enumeration of the ancestor elements in the visual tree of this element.
| |
VisualAncestorsAndSelf |
Returns an enumeration of elements that contains this element, and the ancestors in the visual tree of this element.
| |
VisualChildren |
Enumerates the immediate children of the specified item.
| |
VisualChildrenAndSelf |
Enumerates the specified item and it's immediate children.
| |
VisualDescendants |
Enumerates all visuals descendants of the specified item.
| |
VisualDescendantsAndSelf |
Enumerates the specified item and all it's visual descendants.
|