Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

RectangleGeometry.Rect Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the dimensions of the rectangle.

public:
 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"/>
-or-
<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


Feedback

Was this page helpful?