© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
nathanAjacobs

❔ WindowsAppSDK (WinUI 3) shutdown app before window is shown?

In WindowsAppSDK (WinUI 3) is it possible to shutdown the application specifically in the
OnLaunched
OnLaunched
override before the main window is shown?
Application.Exit()
Application.Exit()
does not work until the main window is shown.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

ContentDialog Window using WinUI 3
C#CC# / help
14mo ago
❔ How to close window in WinUI 3
C#CC# / help
4y ago
WinUI App
C#CC# / help
2y ago
✅ How do I move a Window in WinUI 3 C#?
C#CC# / help
4y ago