LightweightTheme.OverridePalette(ResourceDictionary, Dictionary<String, Color>) Method
In This Article
Creates a new color palette based on the existing palette.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public static ResourceDictionary OverridePalette(
ResourceDictionary basePalette,
Dictionary<string, Color> colors
)
#Parameters
Name | Type | Description |
---|---|---|
base |
Resource |
The base color palette. |
colors | Dictionary<String, Color> | New palette colors. |
#Returns
Type | Description |
---|---|
Resource |
The new color palette. |
See Also