ThemePalette.SetColor(String, Color) Method

Sets the color of the specified palette color name.

Namespace: DevExpress.Xpf.Core

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


public virtual void SetColor(
    string name,
    Color color
Public Overridable Sub SetColor(
    name As String,
    color As Color


Name Type Description
name String

A String that specifies palette color name which you want to define.

color Color

A Color that specifies a custom color to apply to the palette color name.

See Also