RectangleGeometry.Bounds Property


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

Gets a Rect that specifies the bounding box of a RectangleGeometry. This method does not take any pens into account.

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

override Bounds : Rect with get

Property Value

Type: System.Windows.Rect

The bounding box of the RectangleGeometry.

If animations are present, the base values of the RectangleGeometry object are used to calculate the bounding box.

.NET Framework
Available since 3.0
Return to top