Skip to main content
All docs
V24.1

WindowsFormsSettings.AllowRoundedWindowCorners Property

Specifies whether forms, dialogs, panels and tooltips have rounded corners. When this option is enabled, the form’s borders, including shadows, are drawn by the operating system. This option is only in effect in Windows 11.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public static DefaultBoolean AllowRoundedWindowCorners { get; set; }

Property Value

Type Description
DefaultBoolean

DefaultBoolean.Default or DefaultBoolean.False to display square corners; DefaultBoolean.True to display rounded corners.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

The figure below illustrates a form with rounded corners:

rounded window corners in Windows 11

Rounded corners are not supported for controls in OS versions older than Windows 11. No error is raised if you enable the AllowRoundedWindowCorners property in these Windows OS versions.

See Also