Gets or sets a value that indicates the amount that the corners of a window are rounded.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: Not mapped to an xmlns.
<object> <object.CornerRadius> <CornerRadius .../> </object.CornerRadius> </object>
Property ValueType: System.Windows.CornerRadius
A value that describes the amount that corners are rounded.
Metadata properties set to true
Set the property to specify the amount of rounding at the corners of a window. This property can be set to any non-negative double value. The values can be non-uniform.
This property does not affect maximized windows or windows that have a Windows Aero glass frame. It only has an effect when Windows Aero (also called Desktop Window Manager) is not enabled or the GlassFrameThickness property is set to 0. Hit testing in the non-client area does not take the into account when determining whether the mouse is over a resize border. If the radius is too large relative to the ResizeBorderThickness then it is possible that the user cannot perform a diagonal resize using the mouse.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.