LightweightTheme.OverridePalette(LightweightTheme, String, Boolean, String, Dictionary<String, Color>) Method
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 |
---|---|---|
basedOn | LightweightTheme | The base theme. |
name | String | The new theme Name. |
isPaletteTheme | Boolean |
|
displayName | String | The new theme DisplayName. |
colors | Dictionary<String, Color> | New palette colors. |
Returns
Type | Description |
---|---|
LightweightTheme | The new lightweight theme. |
See Also