Class Aligner | Terminal.Gui v2 (original) (raw)
Namespace
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
Gets or sets how the Aligner aligns items within a container.
Gets or sets the modes controlling Alignment.
The size of the container.
Methods
Takes a list of item sizes and returns a list of the positions of those items when aligned withinusing 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 withincontainerSize
using specified parameters.
Events
Occurs when a property value changes.