RichTextBlock.LineStackingStrategy Property

Definition

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

C#
public LineStackingStrategy LineStackingStrategy { get; set; }
XAML
<RichTextBlock LineStackingStrategy="BlockLineHeight"/>
-or-
<RichTextBlock LineStackingStrategy="MaxHeight"/>

Property Value

A value that indicates how a line box is determined for each line of text in the RichTextBlock. The default is MaxHeight.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6