Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

'Declaration
Public Property RadiusX As Double
<object RadiusX="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 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.

Identifier field

RadiusXProperty

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
Show:
© 2015 Microsoft