Geometry.Bounds Property

May 11, 2014

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

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

public 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft