VisualTreeHelper Methods
.NET Framework 4
The VisualTreeHelper type exposes the following members.
| Name | Description | |
|---|---|---|
|
GetBitmapEffect | Returns the BitmapEffect value for the specified Visual. |
|
GetBitmapEffectInput | Returns the BitmapEffectInput value for the specified Visual. |
|
GetCacheMode | Retrieves the cached representation of the specified Visual. |
|
GetChild | Returns the child visual object from the specified collection index within a specified parent. |
|
GetChildrenCount | Returns the number of children that the specified visual object contains. |
|
GetClip | Return the clip region of the specified Visual as a Geometry value. |
|
GetContentBounds(Visual) | Returns the cached bounding box rectangle for the specified Visual. |
|
GetContentBounds(Visual3D) | Returns the cached bounding box rectangle for the specified Visual3D. |
|
GetDescendantBounds(Visual) | Returns the union of all the content bounding boxes for all the descendants of the Visual, which includes the content bounding box of the Visual. |
|
GetDescendantBounds(Visual3D) | Returns the union of all the content bounding boxes for all the descendants of the specified Visual3D, which includes the content bounding box of the Visual3D. |
|
GetDrawing | Returns the drawing content of the specified Visual. |
|
GetEdgeMode | Returns the edge mode of the specified Visual as an EdgeMode value. |
|
GetEffect | Gets the bitmap effect for the specified Visual. |
|
GetOffset | Returns the offset of the Visual. |
|
GetOpacity | Returns the opacity of the Visual. |
|
GetOpacityMask | Returns a Brush value that represents the opacity mask of the Visual. |
|
GetParent | Returns a DependencyObject value that represents the parent of the visual object. |
|
GetTransform | Returns a Transform value for the Visual. |
|
GetXSnappingGuidelines | Returns an X-coordinate (vertical) guideline collection. |
|
GetYSnappingGuidelines | Returns a Y-coordinate (horizontal) guideline collection. |
|
HitTest(Visual, Point) | Returns the topmost Visual object of a hit test by specifying a Point. |
|
HitTest(Visual, HitTestFilterCallback, HitTestResultCallback, HitTestParameters) | Initiates a hit test on the specified Visual, with caller-defined HitTestFilterCallback and HitTestResultCallback methods. |
|
HitTest(Visual3D, HitTestFilterCallback, HitTestResultCallback, HitTestParameters3D) | Initiates a hit test on the specified Visual3D, with caller-defined HitTestFilterCallback and HitTestResultCallback methods. |