New to Telerik ReportingStart a free 30-day trial

Represents a Text Item - a base class for report items like TextBox and CheckBox.

Definition

Constructors

C#
protected TextItemBase()

Properties

Angle

double

Gets or sets the angle of rotation of the text in degrees.

C#
public double Angle { get; set; }
Property Value:

A double value indicating the angle of rotation in degrees.

Remarks:

More info on the Angle property behavior can be found at Text Box - Text Orientation

Gets or sets a value indicating whether the Text Item can grow vertically.

C#
public bool CanGrow { get; set; }
Property Value:

true if the Text Item can grow vertically; otherwise false.

Gets or sets a value indicating whether the Text Item can shrink vertically.

C#
public bool CanShrink { get; set; }
Property Value:

true if the Text Item can shrink vertically; otherwise false.

Culture

CultureInfo

Gets or sets the culture information associated with the Text Item.

C#
public CultureInfo Culture { get; set; }
Property Value:

A CultureInfo representing the culture supported by the TextItemBase.

TODO: Add documentation.

C#
protected override SizeU DefaultSize { get; }

Overrides: ReportItem.DefaultSize

Format

string

Gets or sets the character(s) that specify how text is formatted.

C#
public string Format { get; set; }
Property Value:

The character or characters that specify how text is formatted.

Remarks:

Uses the The .NET Framework Composite Formatting feature which takes a composite format string as input.

The format string is provided in the same manner as in the method. It uses the following syntax: {index[,alignment][:formatString]}

For more information and examples see String.Format Method.

Gets or sets a value indicating whether this is a multiline Text Item.

C#
public bool Multiline { get; set; }
Property Value:

true if the Text Item supports multiple lines; otherwise false.

Gets or sets a value indicating whether a Text Item automatically wraps words to the beginning of the next line when necessary.

C#
public bool TextWrap { get; set; }
Property Value:

true if the Text Item wraps words; otherwise false.