Skip to main content

TdxCustomRibbonForm.ShowFormShadow Property

Specifies if the Ribbon form casts a shadow.

Declaration

property ShowFormShadow: TdxDefaultBoolean read; write; default bDefault;

Property Value

Type Default Description
TdxDefaultBoolean bDefault
bDefault

The form shadow is enabled or disabled at the global level (TcxCustomLookAndFeelController.ShowFormShadow).

This option disables the form shadow if the BorderStyle property is set to bsNone.

bTrue
Shadows are explicitly enabled for all skinned application forms.
bFalse

Shadows are explicitly disabled for all skinned application forms.

Note

Forms still display shadows drawn by the Desktop Window Manger (DWN) under Microsoft Windows 11.

Remarks

Set the ShowFormShadow property to bTrue or bFalse to explicitly enable or disable the shadow effect for the skinned form.

Limitations and Considerations

  • The form can display a shadow if the form border’s width does not exceed 2 pixels with current look & feel settings.
  • If shadows are explicitly disabled at the DevExpress Skins engine level, the Desktop Window Manager (DWN) still draws form shadows under Microsoft Windows 11.

Default Value

The ShowFormShadow property’s default value is bDefault.

The default ShowFormShadow property value indicates that the global form shadow visibility setting (accessible through the ShowFormShadow property of a TdxSkinController component) specifies if the form casts a shadow.

See Also