RectangleGeometry.Rect Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the dimensions of the rectangle.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<RectangleGeometry Rect="Rect"/>
Property Value
Type: System.Windows.RectThe Rect structure that describes the position and size of the rectangle. The default is null.
Dependency property identifier field: RectProperty
The XAML attribute syntax for Rect is in the form Rect="x,y,width,height". For details on the Rect attribute syntax, see Rect.
The x,y origin point and the width,height dimensions of a Rect can all be specified as negative values. For details, see Rect.
Show: