Skip to main content
A newer version of this page is available. .

ThemePalette.Item[String] Property

Provides access to a color by its name.

Namespace: DevExpress.Xpf.Core

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public Color? this[string name] { get; }

Parameters

Name Type Description
name String

A string that specifies the name of the color to be located. This value matches the color’s Name property.

Property Value

Type Description
Nullable<Color>

An object that represents the color value with the specified name.

See Also