HorizontalAlignment Enum
NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI
Describes how a child element is horizontally positioned or stretched within its parent.
public enum HorizontalAlignment
Fields
| Name | Value | Description |
|---|---|---|
Left | Aligns the element to the left of the parent's layout slot. | |
Center | Centers the element horizontally within the parent's layout slot. | |
Right | Aligns the element to the right of the parent's layout slot. | |
Stretch | Stretches the element to fill the parent's layout slot horizontally. |