LinedFlowLayout.ActualLineHeight 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 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
The effective fixed height of the lines.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
Remarks
The LineHeight
property may be set to its default NaN
value, therefore, you can use the ActualLineHeight
property get the effective height of the lines. That fallback value is based on the desired size (UIElement.DesiredSize
) of the item at index 0.
Returns 0.0 when the LinedFlowLayout
's consuming ItemsRepeater
has not been loaded or has not yet been involved in a layout pass that renders the UI.
Applies to
Feedback
Submit and view feedback for