Windows.UI.Xaml.Controls.Border.CornerRadius
June 22, 2022 ยท View on GitHub
-description
Gets or sets the radius for the corners of the border.
-xaml-syntax
<Border CornerRadius="uniformRadius"/>
- or -
<Border CornerRadius="topLeft,topRight,bottomRight,bottomLeft"/>
-xaml-values
- uniformRadius
- uniformRadiusA value that specifies a uniform radius size in pixels. The uniformRadius value is applied to all four CornerRadius values.
- topLeft
- topLeftSets the initial TopLeft value.
- topRight
- topRightSets the initial TopRight value.
- bottomRight
- bottomRightSets the initial BottomRight value.
- bottomLeft
- bottomLeftSets the initial BottomLeft value.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.
-remarks
Member components of a CornerRadius value cannot be negative.