VisualTreeHelper.GetDescendantBounds Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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

NameDescription
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.

Return to top
Show: