How to open an alert when app is closed in MAUI windows platform ?

Dani_S 4,501 Reputation points
2023-01-24T15:09:40.1666667+00:00

Hi,

How to open an alert when app is closed in MAUI windows platform ?

I tried OnDisappearing event but exception is thrown.

My scenario is that i want to warn user before closing the app, when something happened.

Thanks,

Windows development | Windows App SDK
Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.