Class TextBlock
Label text properties
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class TextBlock : LayoutElement, IChartingStateManagedItem, IChartingStateManager, IOrdering
Constructors
TextBlock()
Create new instance of TextBlock class.
Declaration
public TextBlock()
TextBlock(String)
Create new instance of TextBlock class.
Declaration
public TextBlock(string text)
Parameters
System.String
text
Text |
TextBlock(ChartBaseLabel, IContainer)
Create new instance of TextBlock class.
Declaration
public TextBlock(ChartBaseLabel parent, IContainer container)
Parameters
ChartBaseLabel
parent
Parent element |
IContainer
container
Container element |
TextBlock(ChartBaseLabel, IContainer, String)
Create new instance of TextBlock class.
Declaration
public TextBlock(ChartBaseLabel parent, IContainer container, string text)
Parameters
ChartBaseLabel
parent
Parent element |
IContainer
container
Container element |
System.String
text
Text |
TextBlock(ChartBaseLabel, IContainer, StyleTextBlock)
Create new instance of TextBlock class.
Declaration
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance)
Parameters
ChartBaseLabel
parent
Parent element |
IContainer
container
Container element |
StyleTextBlock
appearance
Style of TextBlock |
TextBlock(ChartBaseLabel, IContainer, StyleTextBlock, String)
Create new instance of TextBlock class.
Declaration
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance, string text)
Parameters
ChartBaseLabel
parent
Parent element |
IContainer
container
Container element |
StyleTextBlock
appearance
Style of textblock |
System.String
text
Text |
TextBlock(StyleTextBlock)
Create new instance of TextBlock class.
Declaration
public TextBlock(StyleTextBlock appearance)
Parameters
StyleTextBlock
appearance
Style of TextBlock |
TextBlock(StyleTextBlock, String)
Create new instance of TextBlock class.
Declaration
public TextBlock(StyleTextBlock appearance, string text)
Parameters
StyleTextBlock
appearance
Style of TextBlock |
System.String
text
Text |
Fields
DEFAULT_TEXT
Default text of text block
Declaration
protected string DEFAULT_TEXT
Field Value
System.String
|
textBlockCalculatedMaxLength
Max length of text
Declaration
protected int textBlockCalculatedMaxLength
Field Value
System.Int32
|
textBlockParent
Properties
Appearance
Text field style
Declaration
[SkinnableProperty]
public StyleTextBlock Appearance { get; }
Property Value
StyleTextBlock
Style of TextBlock |
Parent
Parent chart element
Declaration
public ChartBaseLabel Parent { get; set; }
Property Value
ChartBaseLabel
Parent element |
Text
Contained text data
Declaration
public virtual string Text { get; set; }
Property Value
System.String
Text |
Visible
get a and sets visibility of TextBlock
Declaration
public virtual bool Visible { get; set; }
Property Value
System.Boolean
Visibility of TextBlock |