Metric.Default Literal
This is the mode used if none is specified. It will behave as Auto
if the layout size is unavailable, and will behave as Proportion
if available (when the grid is stretched).
This default is only suitable for grids where the size is known, or stretched to fill the parent. It also works if only one-dimension is known and there is only 1 row or column. Any grid with mulitple rows and columns that are not stretched, should not use this default, opting for Absolute
or Auto
instead.
Location
- Namespace
- Fuse.Layouts
- Package
- Fuse.Controls.Panels 2.9.1
Returns
Possible Values
- Absolute
-
The size is an absolute value in points.
- Proportion
-
The size is assigned proportionally between all rows/columns with a
Propertion
metric. The space divided is the total size available to the grid less allAbsolute
andAuto
sized rows/columns. - Auto
-
The size is calculated based on the content of the cells.
- Default
-
This is the mode used if none is specified. It will behave as
Auto
if the layout size is unavailable, and will behave asProportion
if available (when the grid is stretched).