VisualTreeHelper::GetContentBounds Method (Visual^)
.NET Framework (current version)
Returns the cached bounding box rectangle for the specified Visual.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- reference
-
Type:
System.Windows.Media::Visual^
The Visual whose bounding box value is computed.
Call the GetDescendantBounds method to return the union of all the content bounding boxes for all the descendants of a visual object, which includes the Visual itself.
.NET Framework
Available since 3.0
Available since 3.0
Show: