ClassExtendedLabel
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
ExtendedLabel()
Create new instance of Extended label class.
Declaration
public ExtendedLabel()
ExtendedLabel(StyleExtendedLabel)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(StyleExtendedLabel appearance)
Parameters
appearance
Style of label
ExtendedLabel(StyleExtendedLabel, object)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(StyleExtendedLabel appearance, object parent)
Parameters
appearance
Style of label
parent
object
Parent element
ExtendedLabel(StyleExtendedLabel, string)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(StyleExtendedLabel appearance, string text)
Parameters
appearance
Style of label
text
string
Text
ExtendedLabel(TextBlock)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(TextBlock textBlock)
Parameters
textBlock
TextBlock
ExtendedLabel(object)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(object parent)
Parameters
parent
object
Parent element
ExtendedLabel(object, IContainer, StyleExtendedLabel, TextBlock, string)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(object parent, IContainer container, StyleExtendedLabel appearance, TextBlock textBlock, string text)
Parameters
parent
object
Parent element
container
Container
appearance
Style of label
textBlock
TextBlock
text
string
Text of elemnt
ExtendedLabel(object, IContainer, TextBlock)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(object parent, IContainer container, TextBlock textBlock)
Parameters
parent
object
Parent element
container
Container
textBlock
TextBlock
ExtendedLabel(string)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(string text)
Parameters
text
string
Text of label
Fields
extendedLabelItems
Inside labels collection
Declaration
protected ChartLabelsCollection extendedLabelItems
Field Value
Properties
Appearance
Gets style of label
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StyleExtendedLabel Appearance { get; }
Property Value
Items
Items collection.
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public ChartLabelsCollection Items { get; }
Property Value
Methods
AddLabel(ChartLabelsCollection)
Add inside labels
Declaration
public void AddLabel(ChartLabelsCollection chartLabels)
Parameters
chartLabels
Inside labels to add
AddLabel(LabelItem, params LabelItem[])
Add inside labels
AddLabel(LabelItem[])
Add inside labels
Declaration
public void AddLabel(LabelItem[] chartLabels)
Parameters
chartLabels
Inside labels to add
AddLabel(List<LabelItem>)
Add inside labels
Declaration
public void AddLabel(List<LabelItem> labels)
Parameters
labels
List<LabelItem>
Dispose(bool)
Releases unmanaged and - optionally - managed resources
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
bool
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides
GetLabel(int)
Get inner label at specified position
Declaration
public LabelItem GetLabel(int index)
Parameters
index
int
Position to get label
Returns
Label at specified position
LoadViewState(object)
load ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
savedState
object
ViewState with data
Overrides
RemoveAllLabels()
Removes all inner labels
Declaration
public void RemoveAllLabels()
RemoveLabel(LabelItem, params LabelItem[])
Removes inner labels
RemoveLabel(int, params int[])
Removes inner labels
Declaration
public void RemoveLabel(int index, params int[] indexes)
Parameters
index
int
Position where label should be removed
indexes
int[]
Positions where labels should be removed
SaveViewState()
Save ViewState
Declaration
protected override object SaveViewState()
Returns
object
Saved data
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()
Overrides