Class ChartPaletteCollection
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class ChartPaletteCollection : Collection<PaletteFamily>, IList<PaletteFamily>, ICollection<PaletteFamily>, IList, ICollection, IReadOnlyList<PaletteFamily>, IReadOnlyCollection<PaletteFamily>, IEnumerable<PaletteFamily>, IEnumerable
Constructors
ChartPaletteCollection()
Initializes a new instance of the ChartPaletteCollection class.
Declaration
public ChartPaletteCollection()
ChartPaletteCollection(ChartPalette)
Initializes a new instance of the ChartPaletteCollection class.
Declaration
public ChartPaletteCollection(ChartPalette owner)
Parameters
ChartPalette
owner
The owner. |
Methods
ClearItems()
Removes all elements from the System.Collections.ObjectModel.Collection<T>.
Declaration
protected override void ClearItems()
Overrides
Contains(String)
Determines whether a palette with the specific name is contained.
Declaration
public bool Contains(string familyName)
Parameters
System.String
familyName
Name of the family. |
Returns
System.Boolean
|
IndexOf(String)
Gets the index of the passed palette's name.
Declaration
public int IndexOf(string familyName)
Parameters
System.String
familyName
Name of the family. |
Returns
System.Int32
|
InsertItem(Int32, PaletteFamily)
Inserts the item.
Declaration
protected override void InsertItem(int index, PaletteFamily item)
Parameters
System.Int32
index
The index. |
PaletteFamily
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, PaletteFamily)
Sets the item at the specified index.
Declaration
protected override void SetItem(int index, PaletteFamily item)
Parameters
System.Int32
index
The index. |
PaletteFamily
item
The item. |