4.675 Rect

x:Object > Rect
Rect
(usage)
<Rect> string </Rect>
(description)
Describes the width, height, and location of a rectangle.
(used by)
ContextMenu ContextMenuService FixedPage ImageDrawing Popup RectangleGeometry RectKeyFrame SystemParameters TileBrush ToolTip ToolTipService TouchPoint VideoDrawing Viewport3DVisual
[is nullable]
false
[text syntax]
RectSyntax
(properties)
Height
x:Double
(description)
The height of the rectangle.
Location
Point
(description)
The position of the top-left corner of the rectangle.
Size
Size
(description)
The width and height of the rectangle.
Width
x:Double
(description)
The width of the rectangle.
X
x:Double
(description)
The x-axis value of the left side of the rectangle.
Y
x:Double
(description)
The y-axis value of the top side of the rectangle.
(static properties)
Empty
Rect
(description)
A special value that represents a rectangle with no position or area.