LayoutSettings
Configuration for text layout and positioning.
Remarks
public static LayoutSettings Default{ get }Gets the default layout settings with unlimited dimensions and top-left alignment.
public HorizontalAlignment horizontalAlignmentHorizontal text alignment within the layout bounds.
public VerticalAlignment verticalAlignmentVertical text alignment within the layout bounds.
public TextJustify textJustifyHow extra space is distributed when horizontalAlignment is Justify. Ignored otherwise.
public LastLineAlignment lastLineAlignmentHow the paragraph-terminating line is aligned when horizontalAlignment is Justify. Ignored otherwise.
public TextOverEdge overEdgeTop edge metric for text box trimming.
public TextUnderEdge underEdgeBottom edge metric for text box trimming.
public LeadingDistribution leadingDistributionHow extra leading from line-height is distributed relative to the content area.
public LineHeightMode lineHeightModeHow each line's height is determined relative to the fonts it contains.
public static LineHeightMode DefaultLineHeightModeProject-wide default line-height mode seeded into Default. Mirrored from DefaultLineHeightMode and pushed from the main thread, so worker-thread layout reads it without touching Resources.
