ClassCustomPalettesCollection
User-defined palettes collection
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.dll
Syntax:
public class CustomPalettesCollection : ChartingStateManagedCollection<Palette>, IChartingStateManager
Inheritance: objectChartingStateManagedCollection<Palette>CustomPalettesCollection
Implements:
Inherited Members
Constructors
CustomPalettesCollection()
Create new instance of CustomPalettesCollection class.
Declaration
public CustomPalettesCollection()
Methods
Contains(string)
Indicates whether the specified palette item exists in the collection.
Declaration
public bool Contains(string paletteName)
Parameters
paletteName
string
Name of palette
Returns
bool
Whether the specified palette item exists in the collection
GetPalette(int)
Returns a reference to the Palette object at the specified index.
Declaration
public Palette GetPalette(int index)
Parameters
index
int
Index to get palette
Returns
Palette at specified index
GetPalette(string)
Returns a reference to the Palette object by the specified name.
Declaration
public Palette GetPalette(string name)
Parameters
name
string
Name of palette
Returns
Palette object with specified name
IndexOf(string)
Returns the index of the specified palette item.
Declaration
public int IndexOf(string paletteName)
Parameters
paletteName
string
Name of palette
Returns
int
Index of the specified palette item
Remove(string)
Removes palette with specified name from collection
Declaration
public void Remove(string paletteName)
Parameters
paletteName
string
Name of palette