Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 941 Bytes

block_lineheight.md

File metadata and controls

30 lines (21 loc) · 941 Bytes
-api-id -api-type
P:Microsoft.UI.Xaml.Documents.Block.LineHeight
winrt property

Microsoft.UI.Xaml.Documents.Block.LineHeight

-description

Gets or sets the height of each line of content.

-xaml-syntax

<Paragraph LineHeight="double"/>

-property-value

The pixel height of each line as modified by LineStackingStrategy. A value of 0 indicates that the line height is determined automatically from the current font characteristics. The default is 0.

-remarks

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

-examples

-see-also

Paragraph, LineStackingStrategy