Enum LayoutSizeUnit
How a child's size along the container's main axis is expressed, using vocabulary UI designers already know from CSS. See LayoutSize.
Namespace: Serenity.Ui.Domain.Types
Assembly: Serenity.Ui.Domain.dll
Syntax
public enum LayoutSizeUnit
Fields
| Name | Description |
|---|---|
| AUTO | Content-sized: the child hugs its content (CSS |
| FIXED | Exact pixels that neither grow nor shrink (CSS |
| FLEX | A weighted share of the leftover space (CSS |
| PERCENT | A fraction of the parent's main-axis size (CSS |