LineStackingStrategy Property

RichTextBox.LineStackingStrategy Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a value that indicates how a line box is determined for each line of text in the RichTextBox.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public LineStackingStrategy LineStackingStrategy { get; set; }

Property Value

Type: System.Windows.LineStackingStrategy
A value that indicates how a line box is determined for each line of text in the RichTextBox. The default is MaxHeight.

If LineStackingStrategy properties of a RichTextBox and its Block element differs, the LineStackingStrategy property of the Block will be honored.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2018 Microsoft