TextBlock.LineHeight property

1 out of 2 rated this helpful - Rate this topic

Gets or sets the height of each line of content.

Syntax


public double LineHeight { get; set; }


<TextBlock LineHeight="double"/>

Property value

Type: System.Double [.NET] | float64 [C++]

The height of each line in pixels. A value of 0 indicates that the line height is determined automatically from the current font characteristics. The default is 0.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

TextBlock

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.