Share via


LinedFlowLayout.ActualLineHeight Property

Definition

Gets effective fixed height of the lines.

public:
 property double ActualLineHeight { double get(); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultActualLineHeight")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultActualLineHeight")]
double ActualLineHeight();
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultActualLineHeight")]
public double ActualLineHeight { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultActualLineHeight")] get; }
var double = linedFlowLayout.actualLineHeight;
Public ReadOnly Property ActualLineHeight As Double

Property Value

Double

double

The effective fixed height of the lines.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Remarks

If the LineHeight property is set to its default Double.NaN value, the line height is based on the desired size (UIElement.DesiredSize) of the item at index 0. In this case, you can use the ActualLineHeight property to get the effective height of the lines.

LinedFlowLayout is used with the ItemsView.Layout or ItemsRepeater.Layout properties. When the control for which this LinedFlowLayout provides layout has not been loaded or has not yet been involved in a layout pass that renders the UI, this property value is 0.0.

Applies to