ClassChartBaseLabel
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
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
object
Parent element
ChartBaseLabel(object, IContainer)
Create new instance of ChartBaseLabel class.
Declaration
public ChartBaseLabel(object parent, IContainer container)
Parameters
parent
object
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
object
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
object
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
string
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)
Declaration
protected List<IOrdering> chartBaseLabelOrderList
Field Value
List<IOrdering>
chartBaseLabelParent
Parent element
Declaration
protected object chartBaseLabelParent
Field Value
object
Properties
ActiveRegion
Gets and sets Active region
Declaration
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public ActiveRegion ActiveRegion { get; set; }
Property Value
Active region to set
Marker
Graphic marker of label
Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public ChartMarker Marker { get; }
Property Value
NextPosition
Gets a next free order position
Declaration
[Browsable(false)]
public int NextPosition { get; }
Property Value
int
Implements
OrderList
List, that represent the render order for taken up elements
Declaration
[Browsable(false)]
public List<IOrdering> OrderList { get; }
Property Value
List<IOrdering>
Implements
Parent
Gets and sets Parent element
Declaration
[Browsable(false)]
public object Parent { get; set; }
Property Value
object
Element that should be Parent for this
TextBlock
ChartLabel TextBlock
Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public virtual TextBlock TextBlock { get; }
Property Value
Visible
Gets and sets label's visibility
Declaration
[PersistenceMode(PersistenceMode.Attribute)]
public virtual bool Visible { get; set; }
Property Value
bool
Visible label or not
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
object
New instance of ChartBaseLabel class with the same fields as this object
Dispose(bool)
Releases unmanaged and - optionally - managed resources
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
bool
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides
GetOrder(IOrdering)
Gets elements order position
Declaration
public int GetOrder(IOrdering element)
Parameters
element
Element
Returns
int
Implements
Insert(int, IOrdering)
Insert element at specific position in list
Declaration
public void Insert(int order, IOrdering element)
Parameters
order
int
Position
element
Element
Implements
LoadViewState(object)
Load ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
savedState
object
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
int
Position
Implements
SaveViewState()
Save to ViewState
Declaration
protected override object SaveViewState()
Returns
object
Saved data
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()
Overrides