Metric.Proportion Literal
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 all Absolute
and Auto
sized rows/columns.
If the size of the dimension is not known, such as an aligned grid, or the row height in a StackPanel
, the Proportion
metric will result in 0 size.
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).