Telerik UI for Windows Phone by Progress

The RadRect type exposes the following members.


Public methodRadRect(Double, Double)
Initializes a new instance of the RadRect struct.
Public methodRadRect(Double, Double, Double, Double)
Initializes a new instance of the RadRect struct.


Public methodStatic memberCenterRect
Centers the specified rectangle within the provided available one.
Public methodContains
Determines if this RadRect instance contains the point that is described by the arguments.
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ValueType..::..Equals(Object).)
Public methodStatic memberFloor
Rounds the rectangle's value to the closest less than or equal to whole numbers.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueType..::..GetHashCode()()()().)
Public methodIntersectsWith
Determines whether the current rect intersects with the specified one.
Public methodIsSizeValid
Determines whether the size of this rect is valid - that is both Width and Height should be bigger than zero.
Public methodStatic memberNormalize
Ensures that the provided rect has no negative width and height.
Public methodStatic memberRound
Rounds the rectangle's values to the closed whole number.
Public methodStatic memberSubtract
Gets the difference between two RadRect structures.
Public methodStatic memberToSquare
Gets a rectangle that has equal width and height and is centered within the specified rect.


Public operatorStatic memberEquality
Determines whether two RadRect structures are equal.
Public operatorStatic memberInequality
Determines whether two RadRect structures are not equal.


Public fieldStatic memberEmpty
Empty rectangle which values are zeroes.
Public fieldHeight
The length of the rectangle along the Y-axis.
Public fieldStatic memberInvalid
Invalid rectangle, which Width and Height properties are set to (-1).
Public fieldWidth
The length of the rectangle along the X-axis.
Public fieldX
The X-coordinate of the rectangle.
Public fieldY
The Y-coordinate of the rectangle.


Public propertyBottom
Gets the Y-coordinate of the bottom side of the rectangle.
Public propertyCenter
Gets the center of this rectangle.
Public propertyLocation
Gets the location (Top-Left corner) of the rectangle.
Public propertyRight
Gets the X-coordinate of the right side of the rectangle.

See Also