ChartBaseLabel
Base class for all labels
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ChartBaseLabel : LayoutElement, IChartingStateManagedItem, IChartingStateManager, IOrdering, IContainer
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.
public ChartBaseLabel(object parent)
Parent element
Create new instance of ChartBaseLabel class.
public ChartBaseLabel(string text)
Text of TextBlock
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
chartBaseLabelParent
object
Parent element
protected object chartBaseLabelParent
Properties
Gets and sets Active region
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public ActiveRegion ActiveRegion { get; set; }
Active region to set
Graphic marker of label
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public ChartMarker Marker { get; }
NextPosition
int
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:
Parent
object
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))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public virtual TextBlock TextBlock { get; }
Visible
bool
Gets and sets label's visibility
[PersistenceMode(PersistenceMode.Attribute)]
public virtual bool Visible { get; set; }
Visible label or not
Methods
Add element at the end of list
Clone()
object
Clone this object
public virtual object Clone()
object
New instance of ChartBaseLabel class with the same fields as this object
Releases unmanaged and - optionally - managed resources
protected override void Dispose(bool disposing)
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides:
Gets elements order position
public int GetOrder(IOrdering element)
Element
Returns:int
Implements:
Insert element at specific position in list
public void Insert(int order, IOrdering element)
Position
elementIOrderingElement
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
public void RemoveAt(int index)
Position
Implements:
SaveViewState()
object
Save to ViewState
protected override object SaveViewState()
object
Saved data
Overrides:
Track ViewState
protected override void TrackViewState()
Overrides: