Skip to main content
All docs
V24.1

LightweightTheme.OverridePalette(ResourceDictionary, Dictionary<String, Color>) Method

Creates a new color palette based on the existing palette.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public static ResourceDictionary OverridePalette(
    ResourceDictionary basePalette,
    Dictionary<string, Color> colors
)

Parameters

Name Type Description
basePalette ResourceDictionary

The base color palette.

colors Dictionary<String, Color>

New palette colors.

Returns

Type Description
ResourceDictionary

The new color palette.

See Also