Table of Contents

Class Aligner

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Aligns items within a container based on the specified Alignment. Both horizontal and vertical alignments are supported.

public class Aligner : INotifyPropertyChanged
Inheritance
Aligner
Implements
Inherited Members

Properties

Alignment

Gets or sets how the Aligner aligns items within a container.

AlignmentModes

Gets or sets the modes controlling Alignment.

ContainerSize

The size of the container.

Methods

Align(int[])

Takes a list of item sizes and returns a list of the positions of those items when aligned within using the Alignment and AlignmentModes settings.

Align(in Alignment, in AlignmentModes, in int, in int[])

Takes a list of item sizes and returns a list of the positions of those items when aligned within containerSize using specified parameters.

Events

PropertyChanged

Occurs when a property value changes.