Class ChartLabelsCollection
Collection of labels
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class ChartLabelsCollection : ChartingStateManagedCollection<LabelItem>, IDeserializableCollection, IList<LabelItem>, ICollection<LabelItem>, IEnumerable<LabelItem>, IChartingStateManager, IList, ICollection, IEnumerable
Constructors
ChartLabelsCollection()
Create new instance of ChartLabelsCollection class.
Declaration
public ChartLabelsCollection()
Properties
Item[Int32]
Gets or sets a LabelItem at the specific position in Labels collection.
Declaration
public override LabelItem this[int index] { get; set; }
Parameters
System.Int32
index
Position in the collection |
Property Value
LabelItem
LabelItem at the specific position |
Overrides
Parent
Parent element
Declaration
public object Parent { get; set; }
Property Value
System.Object
|
Methods
Add(LabelItem)
Add LabelItem at the collection
Declaration
public override void Add(LabelItem item)
Parameters
LabelItem
item
LabelItem for adding |
Overrides
Clear()
Clear collection
Declaration
public void Clear()
Insert(Int32, LabelItem)
Insert LabelItem in collection at the specific position
Declaration
public override void Insert(int index, LabelItem item)
Parameters
System.Int32
index
Position |
LabelItem
item
LabelItem |
Overrides
LoadViewState(Object)
Load data from ViewState
Declaration
protected override void LoadViewState(object state)
Parameters
System.Object
state
ViewState with data |
Overrides
OnClearComplete()
Clear items
Declaration
protected override void OnClearComplete()
Overrides
OnInsertComplete(Int32, Object)
Insert item in collection
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
System.Int32
index
Index to insert in |
System.Object
value
Value to insert |
Overrides
OnRemoveComplete(Int32, Object)
Remove item at specified index
Declaration
protected override void OnRemoveComplete(int index, object value)
Parameters
System.Int32
index
|
System.Object
value
|
Overrides
Remove(LabelItem)
Remove LabelItem from collection
Declaration
public override bool Remove(LabelItem item)
Parameters
LabelItem
item
LabelItem |
Returns
System.Boolean
|
Overrides
RemoveAt(Int32)
Remove LabelItem in the specific position from collection
Declaration
public override void RemoveAt(int index)
Parameters
System.Int32
index
Position |
Overrides
SaveViewState()
Save data to ViewState
Declaration
protected override object SaveViewState()
Returns
System.Object
Saved data |