Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.25 KB

block_linestackingstrategy.md

File metadata and controls

35 lines (24 loc) · 1.25 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Documents.Block.LineStackingStrategy
winrt property

Microsoft.UI.Xaml.Documents.Block.LineStackingStrategy

-description

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

-xaml-syntax

<Paragraph LineStackingStrategy="BlockLineHeight"/>
-or-
<Paragraph LineStackingStrategy="MaxHeight"/>

-property-value

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

-remarks

Block is a base class for Paragraph. Paragraph is the only element that you can set a LineStackingStrategy value on in Windows Runtime XAML, unless you create a custom class based on Block.

BlockLineHeight and MaxHeight are the only two constant names that exist in the LineStackingStrategy enumeration, so the XAML syntax shows those two choices.

-examples

-see-also

Paragraph, LineStackingStrategy