Skip to main content

WindowsFormsSettings.DisableWindowShadows() Method

Disables window shadows for XtraForm, XtraMessageBox, and XtraDialog.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public static void DisableWindowShadows()

Remarks

If you need to disable window shadows in an application, call the DisableWindowShadows method on startup.

The image below shows an XtraMessageBox before and after the DisableWindowShadows() was called.

DisableWindowShadows

This method is called automatically when you enable the Remote Connection Optimization mode. To re-enable window shadows, call the WindowsFormsSettings.EnableWindowShadows() method.

See Also