ClassChartBaseLabel
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
ChartBaseLabel()
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel()
ChartBaseLabel(IContainer)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(IContainer container)
Parameters
container
Container of the label
ChartBaseLabel(TextBlock)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(TextBlock textBlock)
Parameters
textBlock
TextBlock
ChartBaseLabel(object)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(object parent)
Parameters
parent
Parent element
ChartBaseLabel(object, IContainer)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(object parent, IContainer container)
Parameters
parent
Parent element
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
parent
Parent element
container
Container of the label
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
parent
Parent element
container
Container of the label
textBlock
TextBlock
appearance
Style of label
ChartBaseLabel(string)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(string text)
Parameters
text
Text of TextBlock
Fields
chartBaseLabelActiveRegion
Active region
Declaration
protected ActiveRegion chartBaseLabelActiveRegion
Field Value
chartBaseLabelOrderList
List, that represent the render order for taken up elements (For IContainer.OrderList property)
chartBaseLabelParent
Parent element
Properties
ActiveRegion
Gets and sets Active region
Declaration
[Browsable(true)]
public ActiveRegion ActiveRegion { get; set; }
Property Value
Active region to set
Marker
Graphic marker of label
Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public ChartMarker Marker { get; }
Property Value
NextPosition
Gets a next free order position
Declaration
[Browsable(false)]
public int NextPosition { get; }
Property Value
Implements
OrderList
List, that represent the render order for taken up elements
Parent
Gets and sets Parent element
Declaration
[Browsable(false)]
public object Parent { get; set; }
Property Value
Element that should be Parent for this
TextBlock
ChartLabel TextBlock
Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public virtual TextBlock TextBlock { get; }
Property Value
Methods
Add(IOrdering)
Add element at the end of list
Declaration
public void Add(IOrdering element)
Parameters
element
Element
Implements
Clone()
Clone this object
Declaration
public virtual object Clone()
Returns
New instance of ChartBaseLabel class with the same fields as this object
Implements
GetOrder(IOrdering)
Gets elements order position
Insert(int, IOrdering)
Insert element at specific position in list
LoadViewState(object)
Load ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
savedState
ViewState with data
Overrides
Remove(IOrdering)
Remove element from list
Declaration
public void Remove(IOrdering element)
Parameters
element
Element
Implements
RemoveAt(int)
Remove element from list by it's index
Declaration
public void RemoveAt(int index)
Parameters
index
Position
Implements
SaveViewState()
Save to ViewState
Declaration
protected override object SaveViewState()
Returns
Saved data
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()
Overrides