You are viewing help content for pre-release software. This document and the features it describes are subject to change. 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
)
Public Overridable Sub SetColor(
    name As String,
    color As Color
)

Parameters

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