Class
TextBlock

Label text properties

Definition

Namespace:Telerik.Reporting.Charting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public class TextBlock : LayoutElement, IChartingStateManagedItem, IChartingStateManager, IOrdering

Inheritance: objectStateManagedObjectRenderedObjectLayoutElementTextBlock

Derived Classes: TextBlockAxisItemTextBlockEmptySeriesMessageTextBlockHiddenTextBlockLabelItemTextBlockMarkedZoneTextBlockSeriesItemTextBlockTitleTextBlockXAxisLabelTextBlockYAxisLabel

Implements: IChartingStateManagedItemIChartingStateManagerIOrdering

Inherited Members LayoutElement.GetOffsetLeft(object)LayoutElement.GetOffsetTop(object)LayoutElement.GetOffsetRight(object)LayoutElement.GetOffsetBottom(object)LayoutElement.TrackViewState()LayoutElement.LoadViewState(object)LayoutElement.SaveViewState()LayoutElement.Dispose(bool)RenderedObject.objectContainerRenderedObject.GetOrder()RenderedObject.SetOrder(int)RenderedObject.Remove()RenderedObject.BringForward()RenderedObject.BringToFront()RenderedObject.SendBackward()RenderedObject.SendToBack()RenderedObject.ContainerStateManagedObject.CloneState()StateManagedObject.SetDirty()StateManagedObject.Dispose()StateManagedObject.ViewStateIgnoresCase

Constructors

TextBlock()

Create new instance of TextBlock class.

Declaration

cs-api-definition
public TextBlock()

TextBlock(ChartBaseLabel, IContainer)

Create new instance of TextBlock class.

Declaration

cs-api-definition
public TextBlock(ChartBaseLabel parent, IContainer container)

Parameters

parent

ChartBaseLabel

Parent element

container

IContainer

Container element

TextBlock(ChartBaseLabel, IContainer, StyleTextBlock)

Create new instance of TextBlock class.

Declaration

cs-api-definition
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance)

Parameters

parent

ChartBaseLabel

Parent element

container

IContainer

Container element

appearance

StyleTextBlock

Style of TextBlock

TextBlock(ChartBaseLabel, IContainer, StyleTextBlock, string)

Create new instance of TextBlock class.

Declaration

cs-api-definition
public TextBlock(ChartBaseLabel parent, IContainer container, StyleTextBlock appearance, string text)

Parameters

parent

ChartBaseLabel

Parent element

container

IContainer

Container element

appearance

StyleTextBlock

Style of textblock

text

string

Text

TextBlock(ChartBaseLabel, IContainer, string)

Create new instance of TextBlock class.

Declaration

cs-api-definition
public TextBlock(ChartBaseLabel parent, IContainer container, string text)

Parameters

parent

ChartBaseLabel

Parent element

container

IContainer

Container element

text

string

Text

TextBlock(StyleTextBlock)

Create new instance of TextBlock class.

Declaration

cs-api-definition
public TextBlock(StyleTextBlock appearance)

Parameters

appearance

StyleTextBlock

Style of TextBlock

TextBlock(StyleTextBlock, string)

Create new instance of TextBlock class.

Declaration

cs-api-definition
public TextBlock(StyleTextBlock appearance, string text)

Parameters

appearance

StyleTextBlock

Style of TextBlock

text

string

Text

TextBlock(string)

Create new instance of TextBlock class.

Declaration

cs-api-definition
public TextBlock(string text)

Parameters

text

string

Text

Fields

DEFAULT_TEXT

Default text of text block

Declaration

cs-api-definition
protected string DEFAULT_TEXT

Field Value

string

textBlockCalculatedMaxLength

Max length of text

Declaration

cs-api-definition
protected int textBlockCalculatedMaxLength

Field Value

int

textBlockParent

Parent element

Declaration

cs-api-definition
protected ChartBaseLabel textBlockParent

Field Value

ChartBaseLabel

Properties

Appearance

Text field style

Declaration

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StyleTextBlock Appearance { get; }

Property Value

StyleTextBlock

Style of TextBlock

Parent

Parent chart element

Declaration

cs-api-definition
[Browsable(false)]
public ChartBaseLabel Parent { get; set; }

Property Value

ChartBaseLabel

Parent element

Text

Contained text data

Declaration

cs-api-definition
[PersistenceMode(PersistenceMode.Attribute)]
public virtual string Text { get; set; }

Property Value

string

Text

Visible

get a and sets visibility of TextBlock

Declaration

cs-api-definition
[PersistenceMode(PersistenceMode.Attribute)]
public virtual bool Visible { get; set; }

Property Value

bool

Visibility of TextBlock

Methods

CopyFrom(TextBlock)

Declaration

cs-api-definition
public void CopyFrom(TextBlock textBlock)

Parameters

textBlock

TextBlock