Dela via


LineStackingStrategy Enum

Definition

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

public enum class LineStackingStrategy
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class LineStackingStrategy
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum LineStackingStrategy
Public Enum LineStackingStrategy
<object property="enumMemberName"/>
Inheritance
LineStackingStrategy
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
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.

BlockLineHeight 1

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

BaselineToBaseline 2

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

Applies to