ClassPaletteEntryCollection
Represents a collection of PaletteEntry objects that target particular ChartSeries instance.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class PaletteEntryCollection : Collection<PaletteEntry>, IList, ICollection, IEnumerable
Inheritance: objectCollection<PaletteEntry>PaletteEntryCollection
Implements:
Inherited Members
Constructors
PaletteEntryCollection()
Initializes a new instance of the PaletteEntryCollection class.
Declaration
public PaletteEntryCollection()
PaletteEntryCollection(ChartPalette)
Initializes a new instance of the PaletteEntryCollection class.
Declaration
public PaletteEntryCollection(ChartPalette owner)
Parameters
owner
The owner.
Methods
Add(Color)
Adds the specified fill.
Add(Color, Color)
Adds the specified fill.
Add(Color, Color, Color)
Adds the specified fill.
Add(Color, Color, Color, Color)
Adds the specified fill.
ClearItems()
Removes all elements from the Collection<T>.
Declaration
protected override void ClearItems()
Overrides
InsertItem(int, PaletteEntry)
Inserts the item.
Declaration
protected override void InsertItem(int index, PaletteEntry item)
Parameters
index
The index.
item
The item.
Overrides
RemoveItem(int)
Removes the element at the specified index of the Collection<T>.
Declaration
protected override void RemoveItem(int index)
Parameters
index
The zero-based index of the element to remove.
Exceptions
index is less than zero.-or-index is equal
to or greater than Count.
Overrides
SetItem(int, PaletteEntry)
Sets the item.
Declaration
protected override void SetItem(int index, PaletteEntry item)
Parameters
index
The index.
item
The item.
Overrides