Class ExtendedLabel
Base class for extended labels
Inheritance
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class ExtendedLabel : ChartBaseLabel, IChartingStateManagedItem, IChartingStateManager, IOrdering, IContainer, IActiveRegion, ICloneable
Constructors
ExtendedLabel()
Create new instance of Extended label class.
Declaration
public ExtendedLabel()
ExtendedLabel(Object)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(object parent)
Parameters
System.Object
parent
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
System.Object
parent
Parent element |
IContainer
container
Container |
StyleExtendedLabel
appearance
Style of label |
TextBlock
textBlock
TextBlock |
System.String
text
Text of elemnt |
ExtendedLabel(Object, IContainer, TextBlock)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(object parent, IContainer container, TextBlock textBlock)
Parameters
System.Object
parent
Parent element |
IContainer
container
Container |
TextBlock
textBlock
TextBlock |
ExtendedLabel(String)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(string text)
Parameters
System.String
text
Text of label |
ExtendedLabel(StyleExtendedLabel)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(StyleExtendedLabel appearance)
Parameters
StyleExtendedLabel
appearance
Style of label |
ExtendedLabel(StyleExtendedLabel, Object)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(StyleExtendedLabel appearance, object parent)
Parameters
StyleExtendedLabel
appearance
Style of label |
System.Object
parent
Parent element |
ExtendedLabel(StyleExtendedLabel, String)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(StyleExtendedLabel appearance, string text)
Parameters
StyleExtendedLabel
appearance
Style of label |
System.String
text
Text |
ExtendedLabel(TextBlock)
Create new instance of Extended label class.
Declaration
public ExtendedLabel(TextBlock textBlock)
Parameters
TextBlock
textBlock
TextBlock |
Fields
extendedLabelItems
Inside labels collection
Declaration
protected ChartLabelsCollection extendedLabelItems
Field Value
ChartLabelsCollection
|
Properties
Appearance
Gets style of label
Declaration
[SkinnableProperty]
public StyleExtendedLabel Appearance { get; }
Property Value
StyleExtendedLabel
|
Item[Int32]
Gets and sets LabelItem at specified position
Declaration
public virtual LabelItem this[int itemIndex] { get; set; }
Parameters
System.Int32
itemIndex
Item position |
Property Value
LabelItem
Item at specified position |
Items
Items collection.
Declaration
public ChartLabelsCollection Items { get; }
Property Value
ChartLabelsCollection
|
Methods
AddLabel(List<LabelItem>)
Add inside labels
Declaration
public void AddLabel(List<LabelItem> labels)
Parameters
System.Collections.Generic.List<LabelItem>
labels
|
AddLabel(ChartLabelsCollection)
Add inside labels
Declaration
public void AddLabel(ChartLabelsCollection chartLabels)
Parameters
ChartLabelsCollection
chartLabels
Inside labels to add |
AddLabel(LabelItem, LabelItem[])
Add inside labels
Declaration
public void AddLabel(LabelItem Label, params LabelItem[] chartLabels)
Parameters
LabelItem
Label
Inside label to add |
LabelItem[]
chartLabels
Inside labels to add |
AddLabel(LabelItem[])
Add inside labels
Declaration
public void AddLabel(LabelItem[] chartLabels)
Parameters
LabelItem[]
chartLabels
Inside labels to add |
Clear()
Clear LabelItems collection
Declaration
public void Clear()
GetLabel(Int32)
Get inner label at specified position
Declaration
public LabelItem GetLabel(int index)
Parameters
System.Int32
index
Position to get label |
Returns
LabelItem
Label at specified position |
LoadViewState(Object)
load ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
System.Object
savedState
ViewState with data |
Overrides
RemoveAllLabels()
Removes all inner labels
Declaration
public void RemoveAllLabels()
RemoveLabel(Int32, Int32[])
Removes inner labels
Declaration
public void RemoveLabel(int index, params int[] indexes)
Parameters
System.Int32
index
Position where label should be removed |
System.Int32[]
indexes
Positions where labels should be removed |
RemoveLabel(LabelItem, LabelItem[])
Removes inner labels
Declaration
public void RemoveLabel(LabelItem Label, params LabelItem[] chartLabels)
Parameters
LabelItem
Label
Label to remove |
LabelItem[]
chartLabels
Labels to remove |
SaveViewState()
Save ViewState
Declaration
protected override object SaveViewState()
Returns
System.Object
Saved data |
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()