مشاركة عبر


RectangleGeometry.Rect Property

Definition

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