Back to Devexpress

TcxCustomLookAndFeelController.ShowFormShadow Property

vcl-cxlookandfeels-dot-tcxcustomlookandfeelcontroller-c491fd2c.md

latest2.4 KB
Original Source

TcxCustomLookAndFeelController.ShowFormShadow Property

Specifies if a skinned application form casts a shadow.

Declaration

delphi
property ShowFormShadow: TdxDefaultBoolean read; write; default dxDefaultSkinShowFormShadow;

Property Value

TypeDefaultDescription
TdxDefaultBooleandxDefaultSkinShowFormShadow
  • 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.

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

TcxCustomLookAndFeelController.Reset Procedure

TcxCustomLookAndFeelController.UseImageSet Property

TcxCustomLookAndFeelController Class

TcxCustomLookAndFeelController Members

cxLookAndFeels Unit