New to Telerik UI for WPFStart a free 30-day trial

IRadRun

Interface

Represents a run of text with associated formatting in the document.

Definition

Namespace:Telerik.Windows.Documents.UI.TextBlocks

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public interface IRadRun

Properties

FlowDirection

FlowDirection

Gets or sets the flow direction of the text run.

C#
FlowDirection FlowDirection { get; set; }
Property Value:

A value that specifies the flow direction of the text, either left-to-right or right-to-left.

FontFamily

FontFamily

Gets or sets the font family of the text run.

C#
FontFamily FontFamily { get; set; }
Property Value:

The font family to be applied to the text run. This value can be a string that represents the name of the font family.

Gets or sets the font size of the text run.

C#
double FontSize { get; set; }
Property Value:

The font size of the text run, represented as a double.

FontStyle

FontStyle

Represents the font style of a text run in the Telerik document model.

C#
FontStyle FontStyle { get; set; }

FontWeight

FontWeight

Gets or sets the font weight of the text run.

C#
FontWeight FontWeight { get; set; }
Property Value:

A value that represents the weight of the font, which can affect the appearance of the text. Possible values include normal, bold, or other predefined font weights.

Gets or sets the foreground color of the text block run.

C#
Color ForegroundColor { get; set; }
Property Value:

The foreground color represented as a Color.

Gets or sets the text content of the run.

C#
string Text { get; set; }
Property Value:

A string representing the text within the run.