VisualTreeHelper Class
Provides utility methods that perform common tasks involving nodes in a visual tree.
http://msdn.microsoft.com/en-us/library/System.Windows.Media.VisualTreeHelper.aspx
Methods
From VisualTreeHelper
Name | Description |
---|---|
GetChild | Returns the child visual object of a parent at the specified index |
GetChildrenCount | Returns the number of children that a parent visual contains |
GetClip | Returns the offset of the Visual |
GetContentBounds | Returns the cached bounding box rectangle for the Visual |
GetDescendantBounds | Returns the union of all the content bounding boxes for all the descendants of the visual object, which includes the content bounding box of the Visual |
GetOffset | Returns the offset of the Visual |
GetParent | Returns a DependencyObject value that represents the parent of the visual object |
GetRoot | Returns the root of the visual tree where the specified visual is |
GetSize | Returns the offset of the Visual |
HitTest | Returns the top-most Visual object of a hit test |
Properties
VisualTreeHelper has no properties
Events
VisualTreeHelper has no events