Rect (RectangleGeometry)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the dimensions of a rectangle.

<object Rect="Rect"  .../>
value = object.Rect
object.Rect = value

Property Value

Type: Rect

An object that declares the position and size of the rectangle.

This property is read/write. The default value is null.

Managed Equivalent

Rect

Remarks

See the "Remarks" section in the Rect reference topic for scripting usages of this property.

Applies To

RectangleGeometry

See Also

Reference