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
#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.
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