Click or drag to resize
TextBlock Class
Label text properties
Inheritance Hierarchy
SystemObject
  Telerik.ChartingStateManagedObject
    Telerik.ChartingRenderedObject
      Telerik.ChartingLayoutElement
        Telerik.ChartingTextBlock
          More...

Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart (in Telerik.WinControls.RadChart.dll) Version: 2018.1.220.40 (2018.1.220.40)
Syntax
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
[DefaultPropertyAttribute("Text")]
public class TextBlock : LayoutElement

The TextBlock type exposes the following members.

Constructors
  NameDescription
Public methodTextBlock
Create new instance of TextBlock class.
Public methodTextBlock(String)
Create new instance of TextBlock class.
Public methodTextBlock(StyleTextBlock)
Create new instance of TextBlock class.
Public methodTextBlock(ChartBaseLabel, IContainer)
Create new instance of TextBlock class.
Public methodTextBlock(StyleTextBlock, String)
Create new instance of TextBlock class.
Public methodTextBlock(ChartBaseLabel, IContainer, String)
Create new instance of TextBlock class.
Public methodTextBlock(ChartBaseLabel, IContainer, StyleTextBlock)
Create new instance of TextBlock class.
Public methodTextBlock(ChartBaseLabel, IContainer, StyleTextBlock, String)
Create new instance of TextBlock class.
Top
Properties
  NameDescription
Public propertyAppearance
Text field style
Public propertyContainer
Link to container element
(Inherited from RenderedObject.)
Public propertyParent
Parent chart element
Public propertyText
Contained text data
Protected propertyViewStateIgnoresCase
Gets if view sate should ignore case
(Inherited from StateManagedObject.)
Public propertyVisible
get a and sets visibility of TextBlock
Top
Methods
  NameDescription
Public methodBringForward
Send element at one step forward in the render order list
(Inherited from RenderedObject.)
Public methodBringToFront
Set element at the first position in render order list
(Inherited from RenderedObject.)
Protected methodCloneState
Makes a view state clone
(Inherited from StateManagedObject.)
Public methodCopyFrom
Protected methodGetOffsetBottom
Gets bottom offset
(Inherited from LayoutElement.)
Protected methodGetOffsetLeft
Gets left offset
(Inherited from LayoutElement.)
Protected methodGetOffsetRight
Gets right offset
(Inherited from LayoutElement.)
Protected methodGetOffsetTop
Gets top offset
(Inherited from LayoutElement.)
Public methodGetOrder
Get this elements order position in container
(Inherited from RenderedObject.)
Protected methodLoadViewState
Loads data from a view state
(Inherited from LayoutElement.)
Public methodRemove
Remove this element from render order list
(Inherited from RenderedObject.)
Protected methodSaveViewState
Saves settings to a view state
(Inherited from LayoutElement.)
Public methodSendBackward
Send element at one step back in the render order list
(Inherited from RenderedObject.)
Public methodSendToBack
Send element at the end of render order list
(Inherited from RenderedObject.)
Public methodSetDirty
Sets the item dirty state
(Inherited from StateManagedObject.)
Public methodSetOrder
Set this object in new render order position
(Inherited from RenderedObject.)
Protected methodTrackViewState
Tracking view state changes
(Inherited from LayoutElement.)
Top
Fields
  NameDescription
Protected fieldDEFAULT_TEXT
Default text of text block
Protected fieldobjectContainer
Container, that contains the render order for taken up elements (For property)
(Inherited from RenderedObject.)
Protected fieldtextBlockCalculatedMaxLength
Max length of text
Protected fieldtextBlockParent
Parent element
Top
See Also
Inheritance Hierarchy
SystemObject
  Telerik.ChartingStateManagedObject
    Telerik.ChartingRenderedObject
      Telerik.ChartingLayoutElement
        Telerik.ChartingTextBlock
          Telerik.ChartingTextBlockAxisItem
          Telerik.ChartingTextBlockEmptySeriesMessage
          Telerik.ChartingTextBlockHidden
          Telerik.ChartingTextBlockLabelItem
          Telerik.ChartingTextBlockMarkedZone
          Telerik.ChartingTextBlockSeriesItem
          Telerik.ChartingTextBlockTitle
          Telerik.ChartingTextBlockXAxisLabel
          Telerik.ChartingTextBlockYAxisLabel