Back to Devexpress

Theme.PaletteThemeCacheDirectory Property

wpf-devexpress-dot-xpf-dot-core-dot-theme-050ec1c9.md

latest1.9 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
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:

csharp
Theme.PaletteThemeCacheDirectory = "C:\\DevExpress\\PaletteThemeCache";
vb
Theme.PaletteThemeCacheDirectory = "C:\DevExpress\PaletteThemeCache"

See Also

CachePaletteThemes

ClearPaletteThemeCache()

Theme Class

Theme Members

DevExpress.Xpf.Core Namespace