Table of Contents

Enum MagnetChainGapMode

Namespace
Nalu
Assembly
Nalu.Maui.Layouts.dll

How a MagnetChain interprets the margins between its members.

public enum MagnetChainGapMode : byte

Fields

Anchors = 0

Margins belong to the anchors (ConstraintLayout semantics): a collapsed member drops its own margins, anchors pointing at it use their gone margin.

Separators = 1

Margins are separators: the first member's start margin and the last member's end margin belong to the CHAIN (they survive the head/tail collapsing), and a member's margin towards the previous one applies only when the member is visible and a visible member precedes it (gone margins are not involved).