RectangleGeometry.Bounds Property


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)

Public Overrides ReadOnly Property Bounds As Rect

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