Enum LayoutDirection
Direction in which a layout container arranges its children. The chosen direction defines the
container's "main axis"; the perpendicular axis is the "cross axis". This follows the intuitive
table/grid sense — a ROW is a horizontal band and rows stack down the screen, while
a COLUMN is a vertical strip and columns sit side by side (the opposite of CSS
flexbox flex-direction).
Namespace: Serenity.Ui.Domain.Types
Assembly: Serenity.Ui.Domain.dll
Syntax
public enum LayoutDirection
Fields
| Name | Description |
|---|---|
| COLUMN | Children are placed as columns side by side along the horizontal axis. |
| COLUMN_REVERSE | Like COLUMN but children are placed in reverse (right-to-left) order. |
| ROW | Children are stacked as rows down the vertical axis (each child is a full-width row). |
| ROW_REVERSE | Like ROW but children are placed in reverse (bottom-to-top) order. |