Geometry.Bounds Property

Definition

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

Equivalent WinUI property: Microsoft.UI.Xaml.Media.Geometry.Bounds.

public:
 property Rect Bounds { Rect get(); };
Rect Bounds();
public Rect Bounds { get; }
var rect = geometry.bounds;
Public ReadOnly Property Bounds As Rect

Property Value

Rect

The axis-aligned bounding box of the Geometry.

Applies to

See also