Class
ExtendedLabel

Base class for extended labels

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ExtendedLabel : ChartBaseLabel, IChartingStateManagedItem, IChartingStateManager, IOrdering, IContainer, ICloneable

Inheritance: objectStateManagedObjectRenderedObjectLayoutElementChartBaseLabelExtendedLabel

Derived Classes: ChartLegend

Implements: IChartingStateManagedItemIChartingStateManagerICloneableIContainerIOrdering

Inherited Members ChartBaseLabel.chartBaseLabelParentChartBaseLabel.chartBaseLabelOrderListChartBaseLabel.chartBaseLabelActiveRegionChartBaseLabel.GetOrder(IOrdering)ChartBaseLabel.Add(IOrdering)ChartBaseLabel.Insert(int, IOrdering)ChartBaseLabel.Remove(IOrdering)ChartBaseLabel.RemoveAt(int)ChartBaseLabel.ReIndex()ChartBaseLabel.Clone()ChartBaseLabel.TextBlockChartBaseLabel.MarkerChartBaseLabel.ParentChartBaseLabel.ActiveRegionChartBaseLabel.VisibleChartBaseLabel.OrderListChartBaseLabel.NextPositionLayoutElement.GetOffsetLeft(object)LayoutElement.GetOffsetTop(object)LayoutElement.GetOffsetRight(object)LayoutElement.GetOffsetBottom(object)RenderedObject.objectContainerRenderedObject.GetOrder()RenderedObject.SetOrder(int)RenderedObject.Remove()RenderedObject.BringForward()RenderedObject.BringToFront()RenderedObject.SendBackward()RenderedObject.SendToBack()RenderedObject.ContainerStateManagedObject.CloneState()StateManagedObject.SetDirty()StateManagedObject.ViewStateIgnoresCase

Constructors

ExtendedLabel()

Create new instance of Extended label class.

Declaration

cs-api-definition
public ExtendedLabel()

ExtendedLabel(StyleExtendedLabel)

Create new instance of Extended label class.

Declaration

cs-api-definition
public ExtendedLabel(StyleExtendedLabel appearance)

Parameters

appearance

StyleExtendedLabel

Style of label

ExtendedLabel(StyleExtendedLabel, object)

Create new instance of Extended label class.

Declaration

cs-api-definition
public ExtendedLabel(StyleExtendedLabel appearance, object parent)

Parameters

appearance

StyleExtendedLabel

Style of label

parent

object

Parent element

ExtendedLabel(StyleExtendedLabel, string)

Create new instance of Extended label class.

Declaration

cs-api-definition
public ExtendedLabel(StyleExtendedLabel appearance, string text)

Parameters

appearance

StyleExtendedLabel

Style of label

text

string

Text

ExtendedLabel(TextBlock)

Create new instance of Extended label class.

Declaration

cs-api-definition
public ExtendedLabel(TextBlock textBlock)

Parameters

textBlock

TextBlock

TextBlock

ExtendedLabel(object)

Create new instance of Extended label class.

Declaration

cs-api-definition
public ExtendedLabel(object parent)

Parameters

parent

object

Parent element

ExtendedLabel(object, IContainer, StyleExtendedLabel, TextBlock, string)

Create new instance of Extended label class.

Declaration

cs-api-definition
public ExtendedLabel(object parent, IContainer container, StyleExtendedLabel appearance, TextBlock textBlock, string text)

Parameters

parent

object

Parent element

container

IContainer

Container

appearance

StyleExtendedLabel

Style of label

textBlock

TextBlock

TextBlock

text

string

Text of elemnt

ExtendedLabel(object, IContainer, TextBlock)

Create new instance of Extended label class.

Declaration

cs-api-definition
public ExtendedLabel(object parent, IContainer container, TextBlock textBlock)

Parameters

parent

object

Parent element

container

IContainer

Container

textBlock

TextBlock

TextBlock

ExtendedLabel(string)

Create new instance of Extended label class.

Declaration

cs-api-definition
public ExtendedLabel(string text)

Parameters

text

string

Text of label

Fields

extendedLabelItems

Inside labels collection

Declaration

cs-api-definition
protected ChartLabelsCollection extendedLabelItems

Field Value

ChartLabelsCollection

Properties

Appearance

Gets style of label

Declaration

cs-api-definition
[SkinnableProperty]
public StyleExtendedLabel Appearance { get; }

Property Value

StyleExtendedLabel

Items

Items collection.

Declaration

cs-api-definition
public ChartLabelsCollection Items { get; }

Property Value

ChartLabelsCollection

this[int]

Gets and sets LabelItem at specified position

Declaration

cs-api-definition
[Browsable(false)]
public virtual LabelItem this[int itemIndex] { get; set; }

Parameters

itemIndex

int

Item position

Property Value

LabelItem

Item at specified position

Methods

AddLabel(ChartLabelsCollection)

Add inside labels

Declaration

cs-api-definition
public void AddLabel(ChartLabelsCollection chartLabels)

Parameters

chartLabels

ChartLabelsCollection

Inside labels to add

AddLabel(LabelItem, params LabelItem[])

Add inside labels

Declaration

cs-api-definition
public void AddLabel(LabelItem Label, params LabelItem[] chartLabels)

Parameters

Label

LabelItem

Inside label to add

chartLabels

LabelItem[]

Inside labels to add

AddLabel(LabelItem[])

Add inside labels

Declaration

cs-api-definition
public void AddLabel(LabelItem[] chartLabels)

Parameters

chartLabels

LabelItem[]

Inside labels to add

AddLabel(List<LabelItem>)

Add inside labels

Declaration

cs-api-definition
public void AddLabel(List<LabelItem> labels)

Parameters

labels

List<LabelItem>

Clear()

Clear LabelItems collection

Declaration

cs-api-definition
public void Clear()

GetLabel(int)

Get inner label at specified position

Declaration

cs-api-definition
public LabelItem GetLabel(int index)

Parameters

index

int

Position to get label

Returns

LabelItem

Label at specified position

LoadViewState(object)

load ViewState

Declaration

cs-api-definition
protected override void LoadViewState(object savedState)

Parameters

savedState

object

ViewState with data

Overrides ChartBaseLabel.LoadViewState(object)

RemoveAllLabels()

Removes all inner labels

Declaration

cs-api-definition
public void RemoveAllLabels()

RemoveLabel(LabelItem, params LabelItem[])

Removes inner labels

Declaration

cs-api-definition
public void RemoveLabel(LabelItem Label, params LabelItem[] chartLabels)

Parameters

Label

LabelItem

Label to remove

chartLabels

LabelItem[]

Labels to remove

RemoveLabel(int, params int[])

Removes inner labels

Declaration

cs-api-definition
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

cs-api-definition
protected override object SaveViewState()

Returns

object

Saved data

Overrides ChartBaseLabel.SaveViewState()

TrackViewState()

Track ViewState

Declaration

cs-api-definition
protected override void TrackViewState()

Overrides ChartBaseLabel.TrackViewState()