RibbonTwoLineText::LineHeight Property

.NET Framework (current version)
 

Gets or sets the height of each line of content.

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public:
[TypeConverterAttribute((LengthConverter^::typeid))]
property double LineHeight {
	double get();
	void set(double value);
}

Property Value

Type: System::Double

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

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

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

Identifier field

LineHeightProperty

Metadata properties set to true

None

.NET Framework
Available since 4.5
Return to top
Show: