Search
Setup for Free
C
C#
•
3y ago
Daltz333
❔ WinUI3: Restoring Window Size on relaunch
In UWP and WinUI2
, it would automatically relaunch to the last width
/height of the application
, but this behavior is different in WinUI3
? Is there an easy way of duplicating the existing behavior
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,250
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
D
Denis
•
6/23/23, 8:26 AM
You
'd have to hook to the close event
, and in it save the current window size
. Once the application opens up again
, you resize the window
A
Accord
•
6/24/23, 8:50 AM
Was this issue resolved
? If so
, run
/close
/close
otherwise I will mark this as stale and this post will be archived until there is new activity
.
Similar Threads
Restoring default window effects
C
C# / help
12mo ago
✅ Wierd window size
C
C# / help
2y ago
✅ WinUi3 problem
C
C# / help
16mo ago
❔ WinUI3 WebView2
C
C# / help
3y ago