ExtendedLabel
Base class for extended labels
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ExtendedLabel : ChartBaseLabel, IChartingStateManagedItem, IChartingStateManager, IOrdering, IContainer
Inheritance: objectStateManagedObjectRenderedObjectLayoutElementChartBaseLabelExtendedLabel...
Derived Classes:
Implements:
Inherited Members
Constructors
Create new instance of Extended label class.
public ExtendedLabel()
Create new instance of Extended label class.
public ExtendedLabel(object parent, IContainer container, StyleExtendedLabel appearance, TextBlock textBlock, string text)
Parent element
containerIContainerContainer
appearanceStyleExtendedLabelStyle of label
textBlockTextBlockTextBlock
textstringText of elemnt
Create new instance of Extended label class.
public ExtendedLabel(object parent, IContainer container, TextBlock textBlock)
Parent element
containerIContainerContainer
textBlockTextBlockTextBlock
Create new instance of Extended label class.
public ExtendedLabel(object parent)
Parent element
Create new instance of Extended label class.
public ExtendedLabel(string text)
Text of label
Create new instance of Extended label class.
public ExtendedLabel(StyleExtendedLabel appearance, object parent)
Style of label
parentobjectParent element
Create new instance of Extended label class.
public ExtendedLabel(StyleExtendedLabel appearance, string text)
Style of label
textstringText
Create new instance of Extended label class.
public ExtendedLabel(StyleExtendedLabel appearance)
Style of label
Create new instance of Extended label class.
Fields
Inside labels collection
protected ChartLabelsCollection extendedLabelItems
Properties
Gets style of label
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StyleExtendedLabel Appearance { get; }
Items collection.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ChartLabelsCollection Items { get; }
Methods
Add inside labels
public void AddLabel(ChartLabelsCollection chartLabels)
Inside labels to add
Add inside labels
public void AddLabel(LabelItem[] chartLabels)
Inside labels to add
Add inside labels
Clear LabelItems collection
public void Clear()
Releases unmanaged and - optionally - managed resources
protected override void Dispose(bool disposing)
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides:
Get inner label at specified position
public LabelItem GetLabel(int index)
Position to get label
Returns:Label at specified position
load ViewState
protected override void LoadViewState(object savedState)
ViewState with data
Overrides:
Removes all inner labels
public void RemoveAllLabels()
Removes inner labels
public void RemoveLabel(int index, params int[] indexes)
Position where label should be removed
indexesint[]Positions where labels should be removed
SaveViewState()
object
Save ViewState
protected override object SaveViewState()
object
Saved data
Overrides:
Track ViewState
protected override void TrackViewState()
Overrides: