Skip to main content

CompatibilitySettings.UseThemedMessageBoxInServices Property

Gets or sets whether to use the ThemedMessageBox instead of DXMessageBox in WindowService, DialogService, and WindowedDocumentUIService.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v24.1.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

public static bool UseThemedMessageBoxInServices { get; set; }

Property Value

Type Description
Boolean

true, to use the ThemedMessageBox; otherwise, false.

Remarks

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