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

Declaration

public virtual void SetColor(
    string name,
    Color color
)

Parameters

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.

Remarks

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

See Also