TextBlock
Label text properties
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class TextBlock : LayoutElement, IChartingStateManagedItem, IChartingStateManager, IOrdering
Inheritance: objectStateManagedObjectRenderedObjectLayoutElementTextBlock
Derived Classes:
Implements:
Inherited Members
Constructors
Create new instance of TextBlock class.
public TextBlock()
Create new instance of TextBlock class.
public TextBlock(ChartBaseLabel parent, IContainer container, string text)
Parent element
containerIContainerContainer element
textstringText
Create new instance of TextBlock class.
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance, string text)
Parent element
containerIContainerContainer element
appearanceStyleTextBlockStyle of textblock
textstringText
Create new instance of TextBlock class.
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance)
Parent element
containerIContainerContainer element
appearanceStyleTextBlockStyle of TextBlock
Create new instance of TextBlock class.
public TextBlock(ChartBaseLabel parent, IContainer container)
Parent element
containerIContainerContainer element
Create new instance of TextBlock class.
public TextBlock(string text)
Text
Create new instance of TextBlock class.
public TextBlock(StyleTextBlock appearance, string text)
Style of TextBlock
textstringText
Create new instance of TextBlock class.
public TextBlock(StyleTextBlock appearance)
Style of TextBlock
Fields
DEFAULT_TEXT
string
Default text of text block
protected string DEFAULT_TEXT
Max length of text
protected int textBlockCalculatedMaxLength
Parent element
protected ChartBaseLabel textBlockParent
Properties
Text field style
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StyleTextBlock Appearance { get; }
Style of TextBlock
Parent chart element
[Browsable(false)]
public ChartBaseLabel Parent { get; set; }
Parent element
Text
string
Contained text data
[PersistenceMode(PersistenceMode.Attribute)]
public virtual string Text { get; set; }
Text
Visible
bool
get a and sets visibility of TextBlock
[PersistenceMode(PersistenceMode.Attribute)]
public virtual bool Visible { get; set; }
Visibility of TextBlock