RadiusX Property
Collapse the table of content
Expand the table of content

RectangleGeometry.RadiusX Property

 

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

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public double RadiusX { get; set; }

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

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

Identifier field

RadiusXProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft