Class CustomPalettesCollection
User-defined palettes collection
Inherited Members
Namespace: Telerik.Reporting.Charting
Assembly: Telerik.Reporting.dll
Syntax
public class CustomPalettesCollection : ChartingStateManagedCollection<Palette>, IDeserializableCollection, IList<Palette>, ICollection<Palette>, IEnumerable<Palette>, IChartingStateManager, IList, ICollection, IEnumerable
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
System.String
paletteName
Name of palette |
Returns
System.Boolean
Whether the specified palette item exists in the collection |
GetPalette(Int32)
Returns a reference to the Palette object at the specified index.
Declaration
public Palette GetPalette(int index)
Parameters
System.Int32
index
Index to get palette |
Returns
Palette
Palette at specified index |
GetPalette(String)
Returns a reference to the Palette object by the specified name.
Declaration
public Palette GetPalette(string name)
Parameters
System.String
name
Name of palette |
Returns
Palette
Palette object with specified name |
IndexOf(String)
Returns the index of the specified palette item.
Declaration
public int IndexOf(string paletteName)
Parameters
System.String
paletteName
Name of palette |
Returns
System.Int32
Index of the specified palette item |
Remove(String)
Removes palette with specified name from collection
Declaration
public void Remove(string paletteName)
Parameters
System.String
paletteName
Name of palette |