| HorizontalAlignment Enumeration |
Describes how a child element is horizontally 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)
Syntax public enum HorizontalAlignment
Public Enumeration HorizontalAlignment
public enum class HorizontalAlignment
Members
| Member name | Value | Description |
---|
| Left | 0 |
The child element is aligned to the left of the parent's layout slot.
|
| Center | 1 |
The child element is aligned to the center of the parent's layout slot.
|
| Right | 2 |
The child element is aligned to the right of the parent's layout slot.
|
| Stretch | 3 |
The child element stretches to fill the parent's layout slot.
|
See Also