Rect Properties
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The Rect type exposes the following members.
Properties
Name | Description | |
---|---|---|
Bottom | Gets the y-axis value of the bottom of the rectangle. | |
Empty | Gets a special value that represents a rectangle with no position or area. | |
Height | Gets or sets the height of the rectangle. | |
IsEmpty | Gets a value that indicates whether the rectangle is the Empty rectangle. | |
Left | Gets the x-axis value of the left side of the rectangle. | |
Right | Gets the x-axis value of the right side of the rectangle. | |
Top | Gets the y-axis position of the top of the rectangle. | |
Width | Gets or sets the width of the rectangle. | |
X | Gets or sets the x-axis value of the left side of the rectangle. | |
Y | Gets or sets the y-axis value of the top side of the rectangle. |
Top