Block.LineHeight Property

Definition

Gets or sets the height of each line of content.

C#
public double LineHeight { get; set; }
XAML
<Paragraph LineHeight="double"/>

Property Value

Double

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.

Applies to

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

See also