Class PaletteEntryCollection
Represents a collection of PaletteEntry objects that target particular ChartSeries instance.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class PaletteEntryCollection : Collection<PaletteEntry>, IList<PaletteEntry>, ICollection<PaletteEntry>, IList, ICollection, IReadOnlyList<PaletteEntry>, IReadOnlyCollection<PaletteEntry>, IEnumerable<PaletteEntry>, IEnumerable
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
ChartPalette
owner
The owner. |
Methods
Add(Color)
Adds the specified fill.
Declaration
public void Add(Color fill)
Parameters
System.Drawing.Color
fill
The fill. |
Add(Color, Color)
Adds the specified fill.
Declaration
public void Add(Color fill, Color stroke)
Parameters
System.Drawing.Color
fill
The fill. |
System.Drawing.Color
stroke
The stroke. |
Add(Color, Color, Color)
Adds the specified fill.
Declaration
public void Add(Color fill, Color stroke, Color additionalFill)
Parameters
System.Drawing.Color
fill
The fill. |
System.Drawing.Color
stroke
The stroke. |
System.Drawing.Color
additionalFill
The additional fill. |
Add(Color, Color, Color, Color)
Adds the specified fill.
Declaration
public void Add(Color fill, Color stroke, Color additionalFill, Color additionalStroke)
Parameters
System.Drawing.Color
fill
The fill. |
System.Drawing.Color
stroke
The stroke. |
System.Drawing.Color
additionalFill
The additional fill. |
System.Drawing.Color
additionalStroke
The additional stroke. |
ClearItems()
Removes all elements from the System.Collections.ObjectModel.Collection<T>.
Declaration
protected override void ClearItems()
Overrides
InsertItem(Int32, PaletteEntry)
Inserts the item.
Declaration
protected override void InsertItem(int index, PaletteEntry item)
Parameters
System.Int32
index
The index. |
PaletteEntry
item
The item. |
Overrides
RemoveItem(Int32)
Removes the element at the specified index of the System.Collections.ObjectModel.Collection<T>.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The zero-based index of the element to remove. |
Overrides
Exceptions
System.ArgumentOutOfRangeException
|
SetItem(Int32, PaletteEntry)
Sets the item.
Declaration
protected override void SetItem(int index, PaletteEntry item)
Parameters
System.Int32
index
The index. |
PaletteEntry
item
The item. |