Skip to main content

VerticalAlignment Enum

NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI

Describes how a child element is vertically positioned or stretched within its parent.

public enum VerticalAlignment

Fields

NameValueDescription
TopAligns the element to the top of the parent's layout slot.
CenterCenters the element vertically within the parent's layout slot.
BottomAligns the element to the bottom of the parent's layout slot.
StretchStretches the element to fill the parent's layout slot vertically.