Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Rectangle.RadiusX Property

Gets or sets the x-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)

public double RadiusX { get; set; }
<Rectangle RadiusX="double"/>

Property Value

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

Dependency property identifier field: RadiusXProperty

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 x-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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2014 Microsoft