Geometry.Bounds Property

 
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.

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

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

public virtual Rect Bounds { 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: