Class
ChartBaseLabel

Base class for all labels

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

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

Inheritance: objectStateManagedObjectRenderedObjectLayoutElementChartBaseLabel

Derived Classes: ChartLabelExtendedLabelSeriesItemLabel

Implements: IChartingStateManagedItemIChartingStateManagerICloneableIContainerIOrdering

Inherited Members LayoutElement.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

ChartBaseLabel()

Create new instance of ChartBaseLabel class.

Declaration

cs-api-definition
public ChartBaseLabel()

ChartBaseLabel(IContainer)

Create new instance of ChartBaseLabel class.

Declaration

cs-api-definition
public ChartBaseLabel(IContainer container)

Parameters

container

IContainer

Container of the label

ChartBaseLabel(TextBlock)

Create new instance of ChartBaseLabel class.

Declaration

cs-api-definition
public ChartBaseLabel(TextBlock textBlock)

Parameters

textBlock

TextBlock

TextBlock

ChartBaseLabel(object)

Create new instance of ChartBaseLabel class.

Declaration

cs-api-definition
public ChartBaseLabel(object parent)

Parameters

parent

object

Parent element

ChartBaseLabel(object, IContainer)

Create new instance of ChartBaseLabel class.

Declaration

cs-api-definition
public ChartBaseLabel(object parent, IContainer container)

Parameters

parent

object

Parent element

container

IContainer

Container of the label

ChartBaseLabel(object, IContainer, TextBlock)

Create new instance of ChartBaseLabel class.

Declaration

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

Parameters

parent

object

Parent element

container

IContainer

Container of the label

textBlock

TextBlock

TextBlock

ChartBaseLabel(object, IContainer, TextBlock, LayoutStyle)

Create new instance of ChartBaseLabel class.

Declaration

cs-api-definition
public ChartBaseLabel(object parent, IContainer container, TextBlock textBlock, LayoutStyle appearance)

Parameters

parent

object

Parent element

container

IContainer

Container of the label

textBlock

TextBlock

TextBlock

appearance

LayoutStyle

Style of label

ChartBaseLabel(string)

Create new instance of ChartBaseLabel class.

Declaration

cs-api-definition
public ChartBaseLabel(string text)

Parameters

text

string

Text of TextBlock

Fields

chartBaseLabelActiveRegion

Active region

Declaration

cs-api-definition
protected ActiveRegion chartBaseLabelActiveRegion

Field Value

ActiveRegion

chartBaseLabelOrderList

List, that represent the render order for taken up elements (For IContainer.OrderList property)

Declaration

cs-api-definition
protected List<IOrdering> chartBaseLabelOrderList

Field Value

List<IOrdering>

chartBaseLabelParent

Parent element

Declaration

cs-api-definition
protected object chartBaseLabelParent

Field Value

object

Properties

ActiveRegion

Gets and sets Active region

Declaration

cs-api-definition
[Browsable(true)]
public ActiveRegion ActiveRegion { get; set; }

Property Value

ActiveRegion

Active region to set

Marker

Graphic marker of label

Declaration

cs-api-definition
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public ChartMarker Marker { get; }

Property Value

ChartMarker

NextPosition

Gets a next free order position

Declaration

cs-api-definition
[Browsable(false)]
public int NextPosition { get; }

Property Value

int

Implements IContainer.NextPosition

OrderList

List, that represent the render order for taken up elements

Declaration

cs-api-definition
[Browsable(false)]
public List<IOrdering> OrderList { get; }

Property Value

List<IOrdering>

Implements IContainer.OrderList

Parent

Gets and sets Parent element

Declaration

cs-api-definition
[Browsable(false)]
public object Parent { get; set; }

Property Value

object

Element that should be Parent for this

TextBlock

ChartLabel TextBlock

Declaration

cs-api-definition
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public virtual TextBlock TextBlock { get; }

Property Value

TextBlock

Visible

Gets and sets label's visibility

Declaration

cs-api-definition
public virtual bool Visible { get; set; }

Property Value

bool

Visible label or not

Methods

Add(IOrdering)

Add element at the end of list

Declaration

cs-api-definition
public void Add(IOrdering element)

Parameters

element

IOrdering

Element

Implements IContainer.Add(IOrdering)

Clone()

Clone this object

Declaration

cs-api-definition
public virtual object Clone()

Returns

object

New instance of ChartBaseLabel class with the same fields as this object

Implements ICloneable.Clone()

GetOrder(IOrdering)

Gets elements order position

Declaration

cs-api-definition
public int GetOrder(IOrdering element)

Parameters

element

IOrdering

Element

Returns

int

Implements IContainer.GetOrder(IOrdering)

Insert(int, IOrdering)

Insert element at specific position in list

Declaration

cs-api-definition
public void Insert(int order, IOrdering element)

Parameters

order

int

Position

element

IOrdering

Element

Implements IContainer.Insert(int, IOrdering)

LoadViewState(object)

Load ViewState

Declaration

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

Parameters

savedState

object

ViewState with data

Overrides LayoutElement.LoadViewState(object)

ReIndex()

Re-index order list

Declaration

cs-api-definition
public void ReIndex()

Implements IContainer.ReIndex()

Remove(IOrdering)

Remove element from list

Declaration

cs-api-definition
public void Remove(IOrdering element)

Parameters

element

IOrdering

Element

Implements IContainer.Remove(IOrdering)

RemoveAt(int)

Remove element from list by it's index

Declaration

cs-api-definition
public void RemoveAt(int index)

Parameters

index

int

Position

Implements IContainer.RemoveAt(int)

SaveViewState()

Save to ViewState

Declaration

cs-api-definition
protected override object SaveViewState()

Returns

object

Saved data

Overrides LayoutElement.SaveViewState()

TrackViewState()

Track ViewState

Declaration

cs-api-definition
protected override void TrackViewState()

Overrides LayoutElement.TrackViewState()