Control.CornerRadius Control.CornerRadius Control.CornerRadius Control.CornerRadius Property


Gets or sets the radius for the corners of the control's border.

public : CornerRadius CornerRadius { get; set; }
CornerRadius CornerRadius();

void CornerRadius(CornerRadius cornerradius);
public CornerRadius CornerRadius { get; set; }
Public ReadWrite Property CornerRadius As CornerRadius
<control CornerRadius="uniformRadius"/>
- or -
<control CornerRadius="topLeft,topRight,bottomRight,bottomLeft"/>

Property Value

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

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)


<Button Content="Button" 
        CornerRadius="15" />


Member components of a CornerRadius value cannot be negative.

CornerRadius property on Control behaves the same way Border.CornerRadius does. CornerRadius is a rendering artifact and does not impact layout of the contents (clipping may occur).

The default CornerRadius value in all control templates is 0. Setting the CornerRadius property impacts those controls that have a Border in their ControlTemplate (Example: Button, ComboBox).

See also