TcxCustomLookAndFeelController.FormCorners Property
Specifies the corner shape of all skinned forms.
#Declaration
property FormCorners: TdxFormCorners read; write; default dxDefaultSkinFormCorners;
#Property Value
Type | Default | Description |
---|---|---|
Tdx |
dx |
The form corner shape. |
#Remarks
Use the FormCorners
property to change the corner shape of skinned forms in an application.
Refer to the TdxFormCorners type description for information on available options.
#Individual Form Corner Shapes
TdxSkinForm.FormCorners and TdxCustomRibbonForm.FormCorners properties allow you to override the global form corner shape setting at the level of individual forms.
#Pop-Up Menu Corner Shapes
All pop-up menus in DevExpress controls used in an application have rounded corners when the following conditions are met:
- The application runs under Microsoft Windows® 11.
- The
FormCorners
property is set to fcDefault, fcRounded, or fcSmallRounded. - The UseSkinsInPopupMenus property is set to
True
.
#Limitations
Note
Rounded corners in skinned forms appear aliased under Microsoft Windows® 10 compared to Windows 11. We recommend that you use rounded corners for applications that target Microsoft Windows® 11 only.
Rounded form corner effects for Ribbon and Fluent Design forms[1] have the following limitations when the application is running on Microsoft Windows® 10 or an earlier operating system version:
- Ribbon Form
- Rounded corners are unavailable if acrylic effects are enabled.
- Rounded corners are unavailable for a form with thin[2] skin-dependent borders[3] if the form has no status bar.
- Fluent Design Form
- Rounded corners are unavailable if the embedded navigation bar component encompasses the form’s non-client area.
- Rounded corners increase form border width if the original border width does not exceed
2
pixels at96
DPI.
#Default Value
The FormCorners
property’s default value is fcDefault.
The default FormCorners
property value indicates that the corner shape of a skinned application depends on the dxSkinFormCorners global constant value.