RibbonTwoLineText.LineHeight Property

Definition

Gets or sets the height of each line of content.

public:
 property double LineHeight { double get(); void set(double value); };
[System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))]
public double LineHeight { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))>]
member this.LineHeight : double with get, set
Public Property LineHeight As Double

Property Value

The height of each line, in device independent pixels, in the range of 0.0034 to 160000. A value of NaN indicates that the line height is determined automatically from the current font characteristics. The default is NaN.

Attributes

Remarks

This property gets or sets the value of the LineHeight property of the control's internal TextBlock. For more information, see TextBlock.LineHeight.

Dependency Property Information

Gets or sets the height of the line set on the internal TextBlock.

Identifier field LineHeightProperty
Metadata properties set to true None

Applies to