ClassTextBlock
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
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
string
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
string
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
string
Text
TextBlock(string)
Create new instance of TextBlock class.
Declaration
public TextBlock(string text)
Parameters
text
string
Text
Fields
DEFAULT_TEXT
Default text of text block
Declaration
protected string DEFAULT_TEXT
Field Value
string
textBlockCalculatedMaxLength
Max length of text
Declaration
protected int textBlockCalculatedMaxLength
Field Value
int
textBlockParent
Parent element
Properties
Appearance
Text field style
Declaration
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[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
Declaration
[PersistenceMode(PersistenceMode.Attribute)]
public virtual string Text { get; set; }
Property Value
string
Text
Visible
get a and sets visibility of TextBlock
Declaration
[PersistenceMode(PersistenceMode.Attribute)]
public virtual bool Visible { get; set; }
Property Value
bool
Visibility of TextBlock
Methods
CopyFrom(TextBlock)
Declaration
public void CopyFrom(TextBlock textBlock)
Parameters
textBlock