Back to Devexpress

CompatibilitySettings.UseThemedWindowInServices Property

corelibraries-devexpress-dot-xpf-dot-core-dot-compatibilitysettings-07b4042c.md

latest2.1 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
public static bool UseThemedWindowInServices { get; set; }
vb
Public Shared Property UseThemedWindowInServices As Boolean

Property Value

TypeDescription
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

CompatibilitySettings Class

CompatibilitySettings Members

DevExpress.Xpf.Core Namespace