Border.CornerRadius Property
[ 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"/>
XAML Values
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.
Dependency property identifier field: CornerRadiusProperty
CornerRadius can be a single uniform value for all corners or four unique values. For more information, see CornerRadius.