RectangleGeometry.Bounds Property


Gets a Rect that specifies the bounding box of a RectangleGeometry. This method does not take any pens into account.

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

Property Value

The bounding box of the RectangleGeometry.


If animations are present, the base values of the RectangleGeometry object are used to calculate the bounding box.

Applies to