RibbonTwoLineText.LineHeight Property
Gets or sets the height of each line of content.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
<TypeConverterAttribute(GetType(LengthConverter))> _
Public Property LineHeight As Double
[TypeConverterAttribute(typeof(LengthConverter))]
public double LineHeight { get; set; }
[TypeConverterAttribute(typeof(LengthConverter))]
public:
property double LineHeight {
double get ();
void set (double value);
}
[<TypeConverterAttribute(typeof(LengthConverter))>]
member LineHeight : float with get, set
function get LineHeight () : double
function set LineHeight (value : double)
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.
Dependency Property Information
Gets or sets the height of the line set on the internal TextBlock.
Identifier field |
|
Metadata properties set to true |
None |
Remarks
This property gets or sets the value of the LineHeight property of the control’s internal TextBlock. For more information, see TextBlock.LineHeight.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.