Click or drag to resize

DependencyObjectExtensions Methods

The DependencyObjectExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodAncestors Returns an enumeration of the ancestor elements in the logical tree of this element.
Public Extension MethodAncestorsAndSelf Returns an enumeration of elements that contain this element, and the ancestors in the logical tree of this element.
Public Extension MethodGetExtent Gets the extent of the thickness when applied to an empty rectangle.
Public Extension MethodGetRootVisual Gets the root visual for the item.
Public Extension MethodGetValueT Gets the value of a dependency property using SafeCastT(Object).
Public Extension MethodGetWindowHandle Gets the window handle of the HwndSource hosting this item.
Public Extension MethodTrackT Tracks the changes of the specified property.
Public Extension MethodTryFindAncestorT(DependencyObject) Returns the first element in the ancestor list that implements the type of the type parameter.
Public Extension MethodTryFindAncestorT(DependencyObject, FuncT, Boolean) Returns the first element in the ancestor list that implements the type of the type parameter.
Public Extension MethodTryFindAncestorOrSelfT(DependencyObject) Returns the first element in the ancestor list that implements the type of the type parameter.
Public Extension MethodTryFindAncestorOrSelfT(DependencyObject, FuncT, Boolean) Returns the first element in the ancestor list that implements the type of the type parameter.
Public Extension MethodTryGetRootVisual Gets the root visual for the item.
Public Extension MethodVisualAncestors Returns an enumeration of the ancestor elements in the visual tree of this element.
Public Extension MethodVisualAncestorsAndSelf Returns an enumeration of elements that contains this element, and the ancestors in the visual tree of this element.
Public Extension MethodVisualChildren Enumerates the immediate children of the specified item.
Public Extension MethodVisualChildrenAndSelf Enumerates the specified item and it's immediate children.
Public Extension MethodVisualDescendants Enumerates all visuals descendants of the specified item.
Public Extension MethodVisualDescendantsAndSelf Enumerates the specified item and all it's visual descendants.
Top
See Also