New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

Initializes a new instance of the ChartPaletteCollection class.

C#
public ChartPaletteCollection()

Initializes a new instance of the ChartPaletteCollection class.

C#
public ChartPaletteCollection(ChartPalette owner)
Parameters:ownerChartPalette

The owner.

Methods

Removes all elements from the Collection<T>.

C#
protected override void ClearItems()

Overrides: Collection<PaletteFamily>.ClearItems()

Determines whether a palette with the specific name is contained.

C#
public bool Contains(string familyName)
Parameters:familyNamestring

Name of the family.

Returns:

bool

Gets the index of the passed palette's name.

C#
public int IndexOf(string familyName)
Parameters:familyNamestring

Name of the family.

Returns:

int

Inserts the item.

C#
protected override void InsertItem(int index, PaletteFamily item)
Parameters:indexint

The index.

itemPaletteFamily

The item.

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

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

C#
protected override void RemoveItem(int index)
Parameters:indexint

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)

Sets the item at the specified index.

C#
protected override void SetItem(int index, PaletteFamily item)
Parameters:indexint

The index.

itemPaletteFamily

The item.

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