Table of Contents

Enum MagnetSizingUnit

Namespace
Nalu
Assembly
Nalu.Maui.Layouts.dll

How a MagnetSizing is resolved.

public enum MagnetSizingUnit : byte

Fields

Constraint = 2

The size fills the space between the two anchors of the axis (or the weighted share of a chain).

ConstraintPercent = 3

A fraction (Value, 0..1) of the space between the two anchors of the axis.

Fixed = 1

A fixed size in device-independent units (Value).

Measured = 0

The view is measured and its desired size is used (optionally scaled by Value when > 0).

Ratio = 4

The size is Value times the size of the other axis.

StagePercent = 5

A fraction (Value, 0..1) of the stage size on the same axis, regardless of the anchors.