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