Skip to main content
All docs
V23.2

CompatibilitySettings.AllowThemePreload Property

Gets or sets whether to enable the legacy Theme Preload.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v23.2.dll

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

Declaration

public static bool AllowThemePreload { get; set; }

Property Value

Type Default Description
Boolean false

true to enable the legacy Theme Preload; otherwise, false.

Remarks

PreloadThemeResource and PreloadThemeResourceAsync methods execute the legacy theme preload mechanism.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowThemePreload property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also