Skip to main content

PaletteRepository.Item[String] Property

Provides access to individual palettes in the repository by their names.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public override Palette this[string name] { get; }

Parameters

Name Type Description
name String

A String value specifying the name of the palette to get.

Property Value

Type Description
Palette

A Palette object which represents the palette with the specified name.

Remarks

Use this property to access palettes by their names using index notation. Note that if there is no palette with the specified name in the collection, then the PaletteException exception will occur.

See Also