VisualTreeHelper Methods

 

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetBitmapEffect(Visual)

Returns the BitmapEffect value for the specified Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetBitmapEffectInput(Visual)

Returns the BitmapEffectInput value for the specified Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetCacheMode(Visual)

Retrieves the cached representation of the specified Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetChild(DependencyObject, Int32)

Returns the child visual object from the specified collection index within a specified parent.

System_CAPS_pubmethodSystem_CAPS_staticGetChildrenCount(DependencyObject)

Returns the number of children that the specified visual object contains.

System_CAPS_pubmethodSystem_CAPS_staticGetClip(Visual)

Return the clip region of the specified Visual as a Geometry value.

System_CAPS_pubmethodSystem_CAPS_staticGetContentBounds(Visual)

Returns the cached bounding box rectangle for the specified Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetContentBounds(Visual3D)

Returns the cached bounding box rectangle for the specified Visual3D.

System_CAPS_pubmethodSystem_CAPS_staticGetDescendantBounds(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.

System_CAPS_pubmethodSystem_CAPS_staticGetDescendantBounds(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.

System_CAPS_pubmethodSystem_CAPS_staticGetDpi(Visual)

Gets the DPI information at which this Visual is measured and rendered.

System_CAPS_pubmethodSystem_CAPS_staticGetDrawing(Visual)

Returns the drawing content of the specified Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetEdgeMode(Visual)

Returns the edge mode of the specified Visual as an EdgeMode value.

System_CAPS_pubmethodSystem_CAPS_staticGetEffect(Visual)

Gets the bitmap effect for the specified Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetOffset(Visual)

Returns the offset of the Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetOpacity(Visual)

Returns the opacity of the Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetOpacityMask(Visual)

Returns a Brush value that represents the opacity mask of the Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetParent(DependencyObject)

Returns a DependencyObject value that represents the parent of the visual object.

System_CAPS_pubmethodSystem_CAPS_staticGetTransform(Visual)

Returns a Transform value for the Visual.

System_CAPS_pubmethodSystem_CAPS_staticGetXSnappingGuidelines(Visual)

Returns an X-coordinate (vertical) guideline collection.

System_CAPS_pubmethodSystem_CAPS_staticGetYSnappingGuidelines(Visual)

Returns a Y-coordinate (horizontal) guideline collection.

System_CAPS_pubmethodSystem_CAPS_staticHitTest(Visual, HitTestFilterCallback, HitTestResultCallback, HitTestParameters)

Initiates a hit test on the specified Visual, with caller-defined HitTestFilterCallback and HitTestResultCallback methods.

System_CAPS_pubmethodSystem_CAPS_staticHitTest(Visual, Point)

Returns the topmost Visual object of a hit test by specifying a Point.

System_CAPS_pubmethodSystem_CAPS_staticHitTest(Visual3D, HitTestFilterCallback, HitTestResultCallback, HitTestParameters3D)

Initiates a hit test on the specified Visual3D, with caller-defined HitTestFilterCallback and HitTestResultCallback methods.

System_CAPS_pubmethodSystem_CAPS_staticSetRootDpi(Visual, DpiScale)

Updates the DPI information of a Visual. It can only be called on a Visual without a parent.

Return to top
Show: