ui::PopupClosingArgs¶
Header: winui/ui/Element.hpp.
What a popup's on_closing gets: why it is closing. The handler returns ui::Cancel to keep it open.
| Field | Type | Default | |
|---|---|---|---|
reason |
PopupCloseReason |
PopupCloseReason::Programmatic |
Why it is closing. |