Enum ScaffoldPageMode
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Scaffold.dll
Presentation mode of a page hosted by the Scaffold, attached via PageModeProperty.
public enum ScaffoldPageMode
Fields
Default = 0A regular navigation page.
DismissableModal = 2Modal plus dismissal affordances: a trailing close (X) button on the default nav bar, and the Android system back pops again — both route through the navigation engine (guards and lifecycle run). The interactive previews stay disabled.
Modal = 1Modal presentation: enters from the bottom by default (an explicit page-attached PageTransitionProperty still wins), covers the tab bar, and the default nav bar shows the title only (no back chevron, no drawer buttons). System back is blocked entirely — the iOS edge swipe and the Android predictive back get no preview, and the Android back press is consumed without popping. Dismissal is programmatic only (engine pops still run ILeavingGuard and lifecycle).