Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.54 KB

stackpanel_cornerradius.md

File metadata and controls

41 lines (29 loc) · 1.54 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.StackPanel.CornerRadius
winrt property

Windows.UI.Xaml.Controls.StackPanel.CornerRadius

-description

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

-xaml-syntax

<StackPanel CornerRadius="uniformRadius"/>
- or -
<StackPanel 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.
## -property-value The degree to which the corners are rounded, expressed as values of the [CornerRadius](../windows.ui.xaml/cornerradius.md) structure.

-remarks

Member components of a CornerRadius value cannot be negative.

-examples

-see-also