Geometry::Bounds Property

 

Gets a Rect that specifies the axis-aligned bounding box of the Geometry.

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

public:
property Rect Bounds {
	virtual Rect get();
}

Property Value

Type: System.Windows::Rect

The axis-aligned bounding box of the Geometry.

This property does not take into account the area potentially added by a stroke.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: