windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-863abe8c.md
Gets the palette repository of the chart.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.UI.dll
NuGet Package : DevExpress.Win.Charts
[Browsable(false)]
public PaletteRepository PaletteRepository { get; }
<Browsable(False)>
Public ReadOnly Property PaletteRepository As PaletteRepository
| Type | Description |
|---|---|
| PaletteRepository |
A PaletteRepository object which represents the palette repository of the chart.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PaletteRepository property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
string paletteName = chartControl.PaletteName;
Palette currentPalette = chartControl.PaletteRepository[paletteName];
PaletteEntry paletteEntryAccordingToSeries = currentPalette[seriesIndex];
Dim paletteName As String = chartControl.PaletteName
Dim currentPalette As Palette = chartControl.PaletteRepository(paletteName)
Dim paletteEntryAccordingToSeries As PaletteEntry = currentPalette(seriesIndex)
See Also