All docs
V19.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

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

Declaration

public static string PaletteThemeCacheDirectory { get; set; }
Public Shared Property PaletteThemeCacheDirectory As String

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