Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Theme.PaletteThemeCacheDirectory Property

Gets or sets a directory where the cached palette theme’s assemblies are stored.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public static string PaletteThemeCacheDirectory { get; set; }

#Property Value

Type Description
String

The directory where the cached palette theme’s assemblies are stored.

#Remarks

The default cache directory is %LocalAppData%\DevExpress\PaletteThemeCache.

Set the Theme.CachePaletteThemes to true to cache the applied palette theme’s assemblies.

To remove the cache directory, use the Theme.ClearPaletteThemeCache method.

#Example

The following code sample changes the default cache directory:

Theme.PaletteThemeCacheDirectory = "C:\\DevExpress\\PaletteThemeCache";
See Also