 | VerticalAlignment Enumeration |
Describes how a child element is vertically positioned or stretched within a parent's layout
slot.
Namespace: DigitalRune.Game.UIAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntaxpublic enum VerticalAlignment
Public Enumeration VerticalAlignment
public enum class VerticalAlignment
Members
| Member name | Value | Description |
---|
| Top | 0 |
The child element is aligned to the top of the parent's layout slot.
|
| Center | 1 |
The child element is aligned to the center of the parent's layout slot.
|
| Bottom | 2 |
The child element is aligned to the bottom of the parent's layout slot.
|
| Stretch | 3 |
The child element stretches to fill the parent's layout slot.
|
See Also