LineStackingStrategy LineStackingStrategy LineStackingStrategy LineStackingStrategy Enum


Describes the mechanism by which a line box is determined for each line.

public : enum class LineStackingStrategy
enum class winrt::Windows::UI::Xaml::LineStackingStrategy : int32_t
public enum LineStackingStrategy
Public Enum LineStackingStrategy
<object property="enumMemberName"/>

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


BaselineToBaseline BaselineToBaseline BaselineToBaseline BaselineToBaseline 2

The stack height is determined by adding LineHeight to the baseline of the previous line.

BlockLineHeight BlockLineHeight BlockLineHeight BlockLineHeight 1

The stack height is determined by the block element's LineHeight property value.

MaxHeight MaxHeight MaxHeight MaxHeight 0

The stack height is the minimum of the extended block progression dimension (height) of all the inline elements when properly aligned and the LineHeight value, if specified.