ClassTextBlock
Label text properties
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class TextBlock : LayoutElement, IChartingStateManagedItem, IChartingStateManager, IOrdering
Inheritance: objectStateManagedObjectRenderedObjectLayoutElementTextBlock
Derived Classes:
Implements:
Inherited Members
Constructors
TextBlock(ChartBaseLabel, IContainer)
Create new instance of TextBlock class.
Declaration
public TextBlock(ChartBaseLabel parent, IContainer container)
Parameters
parent
Parent element
container
Container element
TextBlock(ChartBaseLabel, IContainer, StyleTextBlock)
Create new instance of TextBlock class.
Declaration
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance)
Parameters
parent
Parent element
container
Container element
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
parent
Parent element
container
Container element
appearance
Style of textblock
text
Text
TextBlock(ChartBaseLabel, IContainer, string)
Create new instance of TextBlock class.
Declaration
public TextBlock(ChartBaseLabel parent, IContainer container, string text)
Parameters
parent
Parent element
container
Container element
text
Text
TextBlock(StyleTextBlock)
Create new instance of TextBlock class.
Declaration
public TextBlock(StyleTextBlock appearance)
Parameters
appearance
Style of TextBlock
TextBlock(StyleTextBlock, string)
Create new instance of TextBlock class.
Declaration
public TextBlock(StyleTextBlock appearance, string text)
Parameters
appearance
Style of TextBlock
text
Text
TextBlock(string)
Create new instance of TextBlock class.
Fields
DEFAULT_TEXT
Default text of text block
textBlockCalculatedMaxLength
Max length of text
textBlockParent
Parent element
Properties
Appearance
Text field style
Declaration
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[SkinnableProperty]
public StyleTextBlock Appearance { get; }
Property Value
Style of TextBlock
Parent
Parent chart element
Declaration
[Browsable(false)]
public ChartBaseLabel Parent { get; set; }
Property Value
Parent element
Text
Contained text data
Methods
CopyFrom(TextBlock)
Declaration
public void CopyFrom(TextBlock textBlock)
Parameters
textBlock