Enum MagnetSizingUnit
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Layouts.dll
How a MagnetSizing is resolved.
public enum MagnetSizingUnit : byte
Fields
Constraint = 2The size fills the space between the two anchors of the axis (or the weighted share of a chain).
ConstraintPercent = 3A fraction (Value, 0..1) of the space between the two anchors of the axis.
Fixed = 1A fixed size in device-independent units (Value).
Measured = 0The view is measured and its desired size is used (optionally scaled by Value when > 0).
Ratio = 4The size is Value times the size of the other axis.
StagePercent = 5A fraction (Value, 0..1) of the stage size on the same axis, regardless of the anchors.