Class ChartBaseLabel
Base class for all labels
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class ChartBaseLabel : LayoutElement, IChartingStateManagedItem, IChartingStateManager, IOrdering, IContainer, IActiveRegion, ICloneable
Constructors
ChartBaseLabel()
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel()
ChartBaseLabel(Object)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(object parent)
Parameters
System.Object
parent
Parent element |
ChartBaseLabel(Object, IContainer)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(object parent, IContainer container)
Parameters
System.Object
parent
Parent element |
IContainer
container
Container of the label |
ChartBaseLabel(Object, IContainer, TextBlock)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(object parent, IContainer container, TextBlock textBlock)
Parameters
System.Object
parent
Parent element |
IContainer
container
Container of the label |
TextBlock
textBlock
TextBlock |
ChartBaseLabel(Object, IContainer, TextBlock, LayoutStyle)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(object parent, IContainer container, TextBlock textBlock, LayoutStyle appearance)
Parameters
System.Object
parent
Parent element |
IContainer
container
Container of the label |
TextBlock
textBlock
TextBlock |
LayoutStyle
appearance
Style of label |
ChartBaseLabel(String)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(string text)
Parameters
System.String
text
Text of TextBlock |
ChartBaseLabel(IContainer)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(IContainer container)
Parameters
IContainer
container
Container of the label |
ChartBaseLabel(TextBlock)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(TextBlock textBlock)
Parameters
TextBlock
textBlock
TextBlock |
Fields
chartBaseLabelActiveRegion
Active region
Declaration
protected ActiveRegion chartBaseLabelActiveRegion
Field Value
ActiveRegion
|
chartBaseLabelOrderList
List, that represent the render order for taken up elements (For IContainer.OrderList property)
Declaration
protected List<IOrdering> chartBaseLabelOrderList
Field Value
System.Collections.Generic.List<IOrdering>
|
chartBaseLabelParent
Parent element
Declaration
protected object chartBaseLabelParent
Field Value
System.Object
|
Properties
ActiveRegion
Gets and sets Active region
Declaration
public ActiveRegion ActiveRegion { get; set; }
Property Value
ActiveRegion
Active region to set |
Implements
Marker
Graphic marker of label
Declaration
[SkinnableProperty]
public ChartMarker Marker { get; }
Property Value
ChartMarker
|
NextPosition
Gets a next free order position
Declaration
public int NextPosition { get; }
Property Value
System.Int32
|
Implements
OrderList
List, that represent the render order for taken up elements
Declaration
public List<IOrdering> OrderList { get; }
Property Value
System.Collections.Generic.List<IOrdering>
|
Implements
Parent
Gets and sets Parent element
Declaration
public object Parent { get; set; }
Property Value
System.Object
Element that should be Parent for this |
TextBlock
ChartLabel TextBlock
Declaration
[SkinnableProperty]
public virtual TextBlock TextBlock { get; }
Property Value
TextBlock
|
Visible
Gets and sets label's visibility
Declaration
public virtual bool Visible { get; set; }
Property Value
System.Boolean
Visible label or not |
Methods
Add(IOrdering)
Add element at the end of list
Declaration
public void Add(IOrdering element)
Parameters
IOrdering
element
Element |
Implements
Clone()
Clone this object
Declaration
public virtual object Clone()
Returns
System.Object
New instance of ChartBaseLabel class with the same fields as this object |
Implements
GetOrder(IOrdering)
Gets elements order position
Declaration
public int GetOrder(IOrdering element)
Parameters
IOrdering
element
Element |
Returns
System.Int32
|
Implements
Insert(Int32, IOrdering)
Insert element at specific position in list
Declaration
public void Insert(int order, IOrdering element)
Parameters
System.Int32
order
Position |
IOrdering
element
Element |
Implements
LoadViewState(Object)
Load ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
System.Object
savedState
ViewState with data |
Overrides
ReIndex()
Remove(IOrdering)
Remove element from list
Declaration
public void Remove(IOrdering element)
Parameters
IOrdering
element
Element |
Implements
RemoveAt(Int32)
Remove element from list by it's index
Declaration
public void RemoveAt(int index)
Parameters
System.Int32
index
Position |
Implements
SaveViewState()
Save to ViewState
Declaration
protected override object SaveViewState()
Returns
System.Object
Saved data |
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()