Delen via


ContentPresenter.LineHeight Property

Definition

Gets or sets the height of each line of text content presented by the ContentPresenter.

public:
 property double LineHeight { double get(); void set(double value); };
double LineHeight();

void LineHeight(double value);
public double LineHeight { get; set; }
var double = contentPresenter.lineHeight;
contentPresenter.lineHeight = double;
Public Property LineHeight As Double
<ContentPresenter LineHeight="double"/>

Property Value

Double

double

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

Applies to