Interface IScaffoldPopup
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Scaffold.dll
The lifetime handle of a presented popup or bottom sheet: close it programmatically, observe
when it closes (for ANY reason — CloseAsync(), scrim tap, system back, pull-down,
or a navigation dismissing all overlays), or bind its lifetime to a scope with
await using.
public interface IScaffoldPopup : IAsyncDisposable
- Inherited Members
Remarks
This is the low-level presentation contract: it shows a view and reports its lifetime. Result passing, view-model wiring and similar MVVM concerns are abstractions to build on top of it.
Properties
Closed
Gets a task completing when the popup has closed, whatever the close path.
Task Closed { get; }
Property Value
IsOpen
Gets whether the popup is still presented.
bool IsOpen { get; }
Property Value
Methods
CloseAsync()
Closes the popup. Idempotent — a no-op when already closed.
Task CloseAsync()