Class ChartViewCollection
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class ChartViewCollection : Collection<ChartView>, IList<ChartView>, ICollection<ChartView>, IList, ICollection, IReadOnlyList<ChartView>, IReadOnlyCollection<ChartView>, IEnumerable<ChartView>, IEnumerable
Constructors
ChartViewCollection(IChartViewHost)
Initializes a new instance of the ChartViewCollection class.
Declaration
public ChartViewCollection(IChartViewHost owner)
Parameters
IChartViewHost
owner
The owner. |
Methods
AddNew()
AddNew(String)
Adds a new view with the specified name.
Declaration
public virtual ChartView AddNew(string viewName)
Parameters
System.String
viewName
Name of the view. |
Returns
ChartView
|
AddRange(ChartView[])
Adds the range.
Declaration
public void AddRange(params ChartView[] items)
Parameters
ChartView[]
items
|
ClearItems()
Removes all elements from the System.Collections.ObjectModel.Collection<T>.
Declaration
protected override void ClearItems()
Overrides
InsertItem(Int32, ChartView)
Inserts the item.
Declaration
protected override void InsertItem(int index, ChartView item)
Parameters
System.Int32
index
The index. |
ChartView
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, ChartView)
Sets the item.
Declaration
protected override void SetItem(int index, ChartView item)
Parameters
System.Int32
index
The index. |
ChartView
item
The item. |