Table of Contents

Enum AlignmentModes

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Determines alignment modes for Alignment.

[JsonConverter(typeof(JsonStringEnumConverter<AlignmentModes>))]
[Flags]
public enum AlignmentModes
Extension Methods

Fields

AddSpaceBetweenItems = 2

At least one space will be added between items. Useful for justifying text where at least one space is needed.

EndToStart = 1

The items will be arranged from end (right/bottom) to start (left/top).

IgnoreFirstOrLast = 4

When aligning via Start or End, the item opposite to the alignment (the first or last item) will be ignored.

StartToEnd = 0

The items will be arranged from start (left/top) to end (right/bottom).