Table of Contents

Method Align

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Align(Alignment, AlignmentModes, int)

Creates a Pos object that aligns a set of views according to the specified Alignment and AlignmentModes.

public static Pos Align(Alignment alignment, AlignmentModes modes = AlignmentModes.AddSpaceBetweenItems, int groupId = 0)

Parameters

alignment Alignment

The alignment. The default includes AddSpaceBetweenItems.

modes AlignmentModes

The optional alignment modes.

groupId int

The optional identifier of a set of views that should be aligned together. When only a single set of views in a SuperView is aligned, this parameter is optional.

Returns

Pos