New to Telerik ReportingStart a free 30-day trial

Label text properties

Definition

Constructors

Create new instance of TextBlock class.

C#
public TextBlock()

Create new instance of TextBlock class.

C#
public TextBlock(ChartBaseLabel parent, IContainer container, string text)
Parameters:parentChartBaseLabel

Parent element

containerIContainer

Container element

textstring

Text

Create new instance of TextBlock class.

C#
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance, string text)
Parameters:parentChartBaseLabel

Parent element

containerIContainer

Container element

appearanceStyleTextBlock

Style of textblock

textstring

Text

Create new instance of TextBlock class.

C#
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance)
Parameters:parentChartBaseLabel

Parent element

containerIContainer

Container element

appearanceStyleTextBlock

Style of TextBlock

Create new instance of TextBlock class.

C#
public TextBlock(ChartBaseLabel parent, IContainer container)
Parameters:parentChartBaseLabel

Parent element

containerIContainer

Container element

Create new instance of TextBlock class.

C#
public TextBlock(string text)
Parameters:textstring

Text

Create new instance of TextBlock class.

C#
public TextBlock(StyleTextBlock appearance, string text)
Parameters:appearanceStyleTextBlock

Style of TextBlock

textstring

Text

Create new instance of TextBlock class.

C#
public TextBlock(StyleTextBlock appearance)
Parameters:appearanceStyleTextBlock

Style of TextBlock

Fields

Default text of text block

C#
protected string DEFAULT_TEXT

Max length of text

C#
protected int textBlockCalculatedMaxLength

Parent element

C#
protected ChartBaseLabel textBlockParent

Properties

Text field style

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StyleTextBlock Appearance { get; }
Property Value:

Style of TextBlock

Parent chart element

C#
[Browsable(false)]
public ChartBaseLabel Parent { get; set; }
Property Value:

Parent element

Text

string

Contained text data

C#
[PersistenceMode(PersistenceMode.Attribute)]
public virtual string Text { get; set; }
Property Value:

Text

get a and sets visibility of TextBlock

C#
[PersistenceMode(PersistenceMode.Attribute)]
public virtual bool Visible { get; set; }
Property Value:

Visibility of TextBlock

Methods

C#
public void CopyFrom(TextBlock textBlock)
Parameters:textBlockTextBlock