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

Represents a collection of PaletteEntry objects that target particular ChartSeries instance.

Definition

Constructors

Initializes a new instance of the PaletteEntryCollection class.

C#
public PaletteEntryCollection()

Initializes a new instance of the PaletteEntryCollection class.

C#
public PaletteEntryCollection(ChartPalette owner)
Parameters:ownerChartPalette

The owner.

Methods

Adds the specified fill.

C#
public void Add(Color fill, Color stroke, Color additionalFill, Color additionalStroke)
Parameters:fillColor

The fill.

strokeColor

The stroke.

additionalFillColor

The additional fill.

additionalStrokeColor

The additional stroke.

Adds the specified fill.

C#
public void Add(Color fill, Color stroke, Color additionalFill)
Parameters:fillColor

The fill.

strokeColor

The stroke.

additionalFillColor

The additional fill.

Adds the specified fill.

C#
public void Add(Color fill, Color stroke)
Parameters:fillColor

The fill.

strokeColor

The stroke.

Adds the specified fill.

C#
public void Add(Color fill)
Parameters:fillColor

The fill.

Removes all elements from the Collection<T>.

C#
protected override void ClearItems()

Overrides: Collection<PaletteEntry>.ClearItems()

Inserts the item.

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

The index.

itemPaletteEntry

The item.

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

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<PaletteEntry>.RemoveItem(int)

Sets the item.

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

The index.

itemPaletteEntry

The item.

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