Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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