[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the radius for the corners of the border.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<Border CornerRadius="uniformRadius"/> - or - <Border CornerRadius="topLeft,topRight,bottomRight,bottomLeft"/>
If you specify an attribute string with two or three values, only the first value is respected and is treated as the uniformRadius (the other values are ignored). You must specify all four values to use a different behavior than uniformRadius.
In the XAML syntaxes shown, you can use a space rather than a comma as the delimiter between values.
Property ValueType: System.Windows.CornerRadius
The degree to which the corners are rounded.