ChartBaseLabel
Base class for all labels
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ChartBaseLabel : LayoutElement, IChartingStateManagedItem, IChartingStateManager, IOrdering, IContainer, ICloneable
Inheritance: objectStateManagedObjectRenderedObjectLayoutElementChartBaseLabel
Derived Classes:
Implements:
Inherited Members
Constructors
Create new instance of ChartBaseLabel class.
public ChartBaseLabel()
Create new instance of ChartBaseLabel class.
Create new instance of ChartBaseLabel class.
public ChartBaseLabel(object parent, IContainer container, TextBlock textBlock, LayoutStyle appearance)
Parent element
containerIContainerContainer of the label
textBlockTextBlockTextBlock
appearanceLayoutStyleStyle of label
Create new instance of ChartBaseLabel class.
public ChartBaseLabel(object parent, IContainer container, TextBlock textBlock)
Parent element
containerIContainerContainer of the label
textBlockTextBlockTextBlock
Create new instance of ChartBaseLabel class.
public ChartBaseLabel(object parent, IContainer container)
Parent element
containerIContainerContainer of the label
Create new instance of ChartBaseLabel class.
Create new instance of ChartBaseLabel class.
Create new instance of ChartBaseLabel class.
Fields
Active region
protected ActiveRegion chartBaseLabelActiveRegion
List, that represent the render order for taken up elements (For IContainer.OrderList property)
protected List<IOrdering> chartBaseLabelOrderList
Parent element
protected object chartBaseLabelParent
Properties
Gets and sets Active region
[Browsable(true)]
public ActiveRegion ActiveRegion { get; set; }
Active region to set
Graphic marker of label
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public ChartMarker Marker { get; }
Gets a next free order position
[Browsable(false)]
public int NextPosition { get; }
Implements:
List, that represent the render order for taken up elements
[Browsable(false)]
public List<IOrdering> OrderList { get; }
Implements:
Gets and sets Parent element
[Browsable(false)]
public object Parent { get; set; }
Element that should be Parent for this
ChartLabel TextBlock
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public virtual TextBlock TextBlock { get; }
Methods
Add element at the end of list
Clone this object
public virtual object Clone()
New instance of ChartBaseLabel class with the same fields as this object
Implements:
Load ViewState
protected override void LoadViewState(object savedState)
ViewState with data
Overrides:
Re-index order list
public void ReIndex()
Implements:
Remove element from list
Remove element from list by it's index
Save to ViewState
Track ViewState
protected override void TrackViewState()
Overrides: