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:
property Rect Bounds {
	virtual Rect get() override;
}

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
Show: