Class
CustomFiguresCollection

Custom figures collection

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

cs-api-definition
public class CustomFiguresCollection : ChartingStateManagedCollection<CustomFigure>, IList<CustomFigure>, ICollection<CustomFigure>, IEnumerable<CustomFigure>, IChartingStateManager, IList, ICollection, IEnumerable

Inheritance: objectChartingStateManagedCollection<CustomFigure>CustomFiguresCollection

Implements: IChartingStateManagerICollectionICollection<CustomFigure>IEnumerableIEnumerable<CustomFigure>IListIList<CustomFigure>

Inherited Members ChartingStateManagedCollection<CustomFigure>.IndexOf(CustomFigure)ChartingStateManagedCollection<CustomFigure>.Insert(int, CustomFigure)ChartingStateManagedCollection<CustomFigure>.RemoveAt(int)ChartingStateManagedCollection<CustomFigure>.Clear()ChartingStateManagedCollection<CustomFigure>.Contains(CustomFigure)ChartingStateManagedCollection<CustomFigure>.CopyTo(CustomFigure[], int)ChartingStateManagedCollection<CustomFigure>.Remove(CustomFigure)ChartingStateManagedCollection<CustomFigure>.GetEnumerator()ChartingStateManagedCollection<CustomFigure>.LoadViewState(object)ChartingStateManagedCollection<CustomFigure>.SaveViewState()ChartingStateManagedCollection<CustomFigure>.SetItemDirty(CustomFigure)ChartingStateManagedCollection<CustomFigure>.OnInsert(int, object)ChartingStateManagedCollection<CustomFigure>.OnInsertComplete(int, object)ChartingStateManagedCollection<CustomFigure>.OnRemove(int, object)ChartingStateManagedCollection<CustomFigure>.OnRemoveComplete(int, object)ChartingStateManagedCollection<CustomFigure>.OnClear()ChartingStateManagedCollection<CustomFigure>.OnClearComplete()ChartingStateManagedCollection<CustomFigure>.ListChartingStateManagedCollection<CustomFigure>.this[int]ChartingStateManagedCollection<CustomFigure>.CountChartingStateManagedCollection<CustomFigure>.IsReadOnly

Constructors

CustomFiguresCollection()

Declaration

cs-api-definition
public CustomFiguresCollection()

Methods

Add(CustomFigure)

Adds a custom figure to the collection.

Declaration

cs-api-definition
public override void Add(CustomFigure figure)

Parameters

figure

CustomFigure

Figure for adding

Overrides ChartingStateManagedCollection<CustomFigure>.Add(CustomFigure)

AddRange(CustomFigure[])

Adds an array of figure items to the figures collection.

Declaration

cs-api-definition
public override void AddRange(CustomFigure[] figure)

Parameters

figure

CustomFigure[]

Figures for adding

Overrides ChartingStateManagedCollection<CustomFigure>.AddRange(CustomFigure[])

Contains(string)

Indicates whether the specified figure item exists in the collection.

Declaration

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

Parameters

figureName

string

Figure name

Returns

bool

Whether the specified figure item exists in the collection or not

GetFigure(int)

Gets or sets a custom figures collection item.

Declaration

cs-api-definition
public CustomFigure GetFigure(int index)

Parameters

index

int

Index to get figure

Returns

CustomFigure

Figure at specified index

GetFigure(string)

Gets or sets a custom figures collection item.

Declaration

cs-api-definition
public CustomFigure GetFigure(string name)

Parameters

name

string

Name of figure to get

Returns

CustomFigure

Figure with specified name

IndexOf(string)

Returns the index of the specified figure item.

Declaration

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

Parameters

figureName

string

Name of figure

Returns

int

Index of figure with specified name

Remove(string)

Removes figure with specified name

Declaration

cs-api-definition
public void Remove(string figureName)

Parameters

figureName

string

Name of figure