Class Aligner
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
- 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.