Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Border.CornerRadius Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the radius for the corners of the border.

public:
 property CornerRadius CornerRadius { CornerRadius get(); void set(CornerRadius value); };
CornerRadius CornerRadius();

void CornerRadius(CornerRadius value);
public CornerRadius CornerRadius { get; set; }
var cornerRadius = border.cornerRadius;
border.cornerRadius = cornerRadius;
Public Property CornerRadius As CornerRadius
<Border CornerRadius="uniformRadius"/>
- or -
<Border CornerRadius="topLeft,topRight,bottomRight,bottomLeft"/>

Property Value

The degree to which the corners are rounded, expressed as values of the CornerRadius structure.

Remarks

Member components of a CornerRadius value cannot be negative.

Applies to


Feedback

Was this page helpful?