Geometry.Bounds Property

Definition

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

public:
 virtual property System::Windows::Rect Bounds { System::Windows::Rect get(); };
public virtual System.Windows.Rect Bounds { get; }
member this.Bounds : System.Windows.Rect
Public Overridable ReadOnly Property Bounds As Rect

Property Value

The axis-aligned bounding box of the Geometry.

Remarks

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

Applies to