ClassChartLabelsCollection
Collection of labels
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.dll
Syntax:
public class ChartLabelsCollection : ChartingStateManagedCollection<LabelItem>, IChartingStateManager
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
object
this[int]
Gets or sets a LabelItem at the specific position in Labels collection.
Declaration
[Browsable(false)]
public override LabelItem this[int index] { get; set; }
Parameters
index
int
Position in the collection
Property Value
LabelItem at the specific position
Overrides
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
Declaration
public override void Insert(int index, LabelItem item)
Parameters
index
int
Position
item
LabelItem
Overrides
LoadViewState(object)
Load data from ViewState
Declaration
protected override void LoadViewState(object state)
Parameters
state
object
ViewState with data
Overrides
OnClearComplete()
Clear items
Declaration
protected override void OnClearComplete()
Overrides
OnInsertComplete(int, object)
Insert item in collection
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
index
int
Index to insert in
value
object
Value to insert
Overrides
OnRemoveComplete(int, object)
Remove item at specified index
Declaration
protected override void OnRemoveComplete(int index, object value)
Parameters
index
int
value
object
Overrides
Remove(LabelItem)
Remove LabelItem from collection
Declaration
public override bool Remove(LabelItem item)
Parameters
item
LabelItem
Returns
bool
Overrides
RemoveAt(int)
Remove LabelItem in the specific position from collection
Declaration
public override void RemoveAt(int index)
Parameters
index
int
Position
Overrides
SaveViewState()
Save data to ViewState
Declaration
protected override object SaveViewState()
Returns
object
Saved data
Overrides