Skip to main content

CompatibilitySettings.UseThemedWindowInServices Property

Gets or sets whether to use the ThemedWindow instead of DXWindow 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 UseThemedWindowInServices { get; set; }

Property Value

Type Description
Boolean

true, to use the ThemedWindow; otherwise, false.

Remarks

WindowService, DialogService, and WindowedDocumentUIService now use ThemedWindow by default. To ensure backward compatibility, these services analyze the style defined in the DialogStyle/WindowStyle properties. If this style targets DXWindow or DXDialogWindow, services use DXWindow/DXDialogWindow classes. Otherwise, the new ThemedWindow class will be used.

DXMessageBoxService now always uses ThemedMessageBox instead of DXMessageBox.

To roll back to the old behavior, set the UseThemedWindowInServices property to false.

See Also