Block.LineHeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the height of each line of content.
public:
property double LineHeight { double get(); void set(double value); };
double LineHeight();
void LineHeight(double value);
public double LineHeight { get; set; }
var double = block.lineHeight;
block.lineHeight = double;
Public Property LineHeight As Double
<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.