Share via

RectangleGeometry.Rect Property


Gets or sets the dimensions of the rectangle.

 property Rect Rect { Rect get(); void set(Rect value); };
Rect Rect();

void Rect(Rect value);
public Rect Rect { get; set; }
var rect = rectangleGeometry.rect;
rectangleGeometry.rect = rect;
Public Property Rect As Rect
<RectangleGeometry Rect="x,y,width,height"/>
<RectangleGeometry Rect="x y width height"/>

Property Value

The Rect structure that describes the position and size of the rectangle. The default is null.

Applies to