corelibraries-devexpress-dot-xpf-dot-core-dot-compatibilitysettings-2c4e4da0.md
Gets or sets whether to use the ThemedMessageBox instead of DXMessageBox in WindowService, DialogService, and WindowedDocumentUIService.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Data.Desktop.v25.2.dll
NuGet Packages : DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design
public static bool UseThemedMessageBoxInServices { get; set; }
Public Shared Property UseThemedMessageBoxInServices As Boolean
| Type | Description |
|---|---|
| Boolean |
true , to use the ThemedMessageBox ; otherwise, false.
|
We’ve been developing the ThemedWindow class since version 17.1 as a universal alternative to legacy DXWindow/DXRibbonWindow/DXTabbedWindow classes. It uses a more native approach to customize the non-client area and supports a wider variety of use cases. Starting with version 18.2, ThemedWindow can also act as a dialog and has built-in dialog buttons. We’ve also created the ThemedMessageBox class that uses a similar approach as ThemedWindow internally.
DXMessageBoxService now always uses ThemedMessageBox instead of DXMessageBox.
To roll back to the old behavior, set the UseThemedMessageBoxInServices property to false.
See Also