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
Create new instance of CustomPalettesCollection class.
public CustomPalettesCollection()
Methods
Indicates whether the specified palette item exists in the collection.
public bool Contains(string paletteName)
Name of palette
Returns:bool
Whether the specified palette item exists in the collection
Returns a reference to the Palette object at the specified index.
public Palette GetPalette(int index)
Index to get palette
Returns:Palette at specified index
Returns a reference to the Palette object by the specified name.
public Palette GetPalette(string name)
Name of palette
Returns:Palette object with specified name
Returns the index of the specified palette item.
public int IndexOf(string paletteName)
Name of palette
Returns:int
Index of the specified palette item
Removes palette with specified name from collection
public void Remove(string paletteName)
Name of palette