LightweightTheme.OverridePalette(LightweightTheme, String, Boolean, String, Dictionary<String, Color>) Method
In This Article
Creates a new lightweight theme with a custom color palette.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public static LightweightTheme OverridePalette(
LightweightTheme basedOn,
string name,
bool isPaletteTheme,
string displayName,
Dictionary<string, Color> colors
)
#Parameters
Name | Type | Description |
---|---|---|
based |
Lightweight |
The base theme. |
name | String | The new theme Name. |
is |
Boolean |
|
display |
String | The new theme Display |
colors | Dictionary<String, Color> | New palette colors. |
#Returns
Type | Description |
---|---|
Lightweight |
The new lightweight theme. |
See Also