Skip to main content

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

NameValueDescription
LeftAligns the element to the left of the parent's layout slot.
CenterCenters the element horizontally within the parent's layout slot.
RightAligns the element to the right of the parent's layout slot.
StretchStretches the element to fill the parent's layout slot horizontally.