Redigera

Dela via


RectangleGeometry.RadiusX Property

Definition

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

public:
 property double RadiusX { double get(); void set(double value); };
public double RadiusX { get; set; }
member this.RadiusX : double with get, set
Public Property RadiusX As Double

Property Value

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.

Remarks

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

Dependency Property Information

Identifier field RadiusXProperty
Metadata properties set to true None

Applies to

See also