RectangleGeometry.RadiusY Property

Gets or sets the y-radius of the ellipse use to round the corners of the rectangle.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public double RadiusY { get; set; }
<object RadiusY="double" .../>

Property Value

Type: System.Double
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 use 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. The default is 0.0.

Identifier field

RadiusYProperty

Metadata properties set to true

None

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft