Back to Devexpress

PaletteRepository.Item[String] Property

corelibraries-devexpress-dot-xtracharts-dot-paletterepository-dot-item-x28-system-dot-string-x29.md

latest1.7 KB
Original Source

PaletteRepository.Item[String] Property

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public override Palette this[string name] { get; }
vb
Public Overrides ReadOnly Property Item(name As String) As Palette

Parameters

NameTypeDescription
nameString

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

|

Property Value

TypeDescription
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

PaletteRepository Class

PaletteRepository Members

DevExpress.XtraCharts Namespace