A newer version of this page is available. Switch to the current version.

ThemePalette.SetColor(String, Color) Method

Sets the color of the specified palette color name.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.2.dll


public virtual void SetColor(
    string name,
    Color color


Name Type Description
name String

A palette color name which you want to define.

color Color

A custom color to apply to the palette color name.


Refer to the How to: Use Palette Resources topic to get the list of available palette colors grouped by themes.

See Also