ContentPresenter.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 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.