Class
ChartPaletteCollection

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
public class ChartPaletteCollection : Collection<PaletteFamily>, IList, ICollection, IEnumerable

Inheritance: objectCollection<PaletteFamily>ChartPaletteCollection

Implements: ICollectionIEnumerableIList

Inherited Members Collection<PaletteFamily>.Add(PaletteFamily)Collection<PaletteFamily>.Clear()Collection<PaletteFamily>.CopyTo(PaletteFamily[], int)Collection<PaletteFamily>.Contains(PaletteFamily)Collection<PaletteFamily>.GetEnumerator()Collection<PaletteFamily>.IndexOf(PaletteFamily)Collection<PaletteFamily>.Insert(int, PaletteFamily)Collection<PaletteFamily>.Remove(PaletteFamily)Collection<PaletteFamily>.RemoveAt(int)Collection<PaletteFamily>.CountCollection<PaletteFamily>.ItemsCollection<PaletteFamily>.this[int]

Constructors

ChartPaletteCollection()

Initializes a new instance of the ChartPaletteCollection class.

Declaration

cs-api-definition
public ChartPaletteCollection()

ChartPaletteCollection(ChartPalette)

Initializes a new instance of the ChartPaletteCollection class.

Declaration

cs-api-definition
public ChartPaletteCollection(ChartPalette owner)

Parameters

owner

ChartPalette

The owner.

Methods

ClearItems()

Removes all elements from the Collection<T>.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides Collection<PaletteFamily>.ClearItems()

Contains(string)

Determines whether a palette with the specific name is contained.

Declaration

cs-api-definition
public bool Contains(string familyName)

Parameters

familyName

string

Name of the family.

Returns

bool

IndexOf(string)

Gets the index of the passed palette's name.

Declaration

cs-api-definition
public int IndexOf(string familyName)

Parameters

familyName

string

Name of the family.

Returns

int

InsertItem(int, PaletteFamily)

Inserts the item.

Declaration

cs-api-definition
protected override void InsertItem(int index, PaletteFamily item)

Parameters

index

int

The index.

item

PaletteFamily

The item.

Overrides Collection<PaletteFamily>.InsertItem(int, PaletteFamily)

RemoveItem(int)

Removes the element at the specified index of the Collection<T>.

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

The zero-based index of the element to remove.

Exceptions

ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than Count.

Overrides Collection<PaletteFamily>.RemoveItem(int)

SetItem(int, PaletteFamily)

Sets the item at the specified index.

Declaration

cs-api-definition
protected override void SetItem(int index, PaletteFamily item)

Parameters

index

int

The index.

item

PaletteFamily

The item.

Overrides Collection<PaletteFamily>.SetItem(int, PaletteFamily)