Skip to main content
All docs
V24.2

TcxCustomLookAndFeelController.ShowFormShadow Property

Specifies if a skinned application form casts a shadow.

Declaration

property ShowFormShadow: TdxDefaultBoolean read; write; default dxDefaultSkinShowFormShadow;

Property Value

Type Default Description
TdxDefaultBoolean dxDefaultSkinShowFormShadow
  • If bDefault or bTrue, a form casts a shadow only if the active skin draws form borders whose width does not exceed 2 pixels.
  • If bFalse, the form shadow effect is disabled.

Remarks

Any DevExpress form (a TdxCustomForm or TdxForm class descendant instance) can also draw a nonfunctional underlying form to imitate a shadow if the active skin draws form borders whose width does not exceed 2 pixels.

VCL Skins Library: A Simple Form with a Shadow

Set the ShowFormShadow property to bTrue or bFalse to enable or disable the form shadow effect at the global level.

Note

The ShowFormShadow property maps to the dxSkinShowFormShadow global variable. All skin controller instances share the same ShowFormShadow property value.

Individual Form Shadow Visibility

TdxSkinForm.ShowFormShadow and TdxCustomRibbonForm.ShowFormShadow properties allow you to override the global form shadow visibility setting at the level of individual forms.

Default Value

The ShowFormShadow property’s default value is bDefault.

See Also