Geometry.Bounds Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

Syntax

Public ReadOnly Property Bounds As Rect
public Rect Bounds { get; }

Property Value

Type: System.Windows..::.Rect
The axis-aligned bounding box of the Geometry.

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Geometry Class

System.Windows.Media Namespace