Skip to main content

BnSafeAreaEdge

Namespace: BlazorNative.Components

How one edge of a BnSafeArea reacts to the inset the host shell reports for it.

public enum BnSafeAreaEdge

Inheritance Object → ValueType → Enum → BnSafeAreaEdge
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields​

NameValueDescription
Off0The reported inset is ignored on this edge — the edge-to-edge case, e.g. a full-bleed hero image drawn under the status bar. The author's own padding for that edge, if any, still applies.
Additive1The reported inset is added to the author's own padding for that edge. The default.
Maximum2Whichever is larger: the reported inset, or the author's own padding for that edge — React Native's rule, Math.max(insets.bottom, 16) written once here instead of by every author.