ContainerVisual::DescendantBounds Property
.NET Framework (current version)
Gets the union of all the content bounding boxes for all of the descendants of the ContainerVisual, but not including the contents of the ContainerVisual.
Assembly: PresentationCore (in PresentationCore.dll)
Get the ContentBounds property to return the cached bounding box rectangle for the ContainerVisual itself.
The following example shows how to retrieve the bounding rectangle of a ContainerVisual object's descendants.
.NET Framework
Available since 3.0
Available since 3.0
Show: