TextBlock


Summary

Represents the Text Block - the control to display a non-interactive text.

Syntax

public class TextBlock : Control

Members

NameTypeSummary
LineHeight PropertyGets or sets the height of the line.
LineStackingStrategy PropertyGets or sets the mechanism by which a line box is determined for each line of text within the TextBlock.
Text PropertyGets or sets the text.
TextAlignment PropertyGets or sets the text alignment.
TextBlock MethodInitializes a new instance of the Text Block class.
TextTrimming PropertyGets or sets the text trimming behavior when the content overflows the content area.
TextWrapping PropertyGets or sets the way how the TextBlock should wrap the text.
Reference