Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowsFormsSettings.DisableWindowShadows() Method

In This Article

Disables window shadows for XtraForm, XtraMessageBox, and XtraDialog.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#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