This topic has not yet been rated - Rate this topic

Rectangle.RadiusY Property

April 12, 2014

Gets or sets the y-axis radius of the ellipse that is used to round the corners of the rectangle.

Namespace:  System.Windows.Shapes
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
public double RadiusY { get; set; }
<Rectangle RadiusY="double"/>

Property Value

Type: System.Double
The y-axis radius of the ellipse that is used to round the corners of the rectangle. The default is 0.

Dependency property identifier field: RadiusYProperty

For the rectangle to have rounded corners, both the RadiusX and RadiusY properties must be nonzero.

A value greater than or equal to zero and less than or equal to half the rectangle's width that describes the y-radius of the ellipse is used to round the corners of the rectangle. Values greater than half the rectangle's width are treated as though equal to half the rectangle's width. Negative values are treated as positive values.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.