WpfAppBar
WpfAppBar copied to clipboard
Problem on exiting while docked
When exiting the application in a docked state, the docked area will be blocked for other applications. Is there a way to properly exit the app in a docked state?
(tested on Windows 10)
Before exiting, set the dock mode to None and you'll be good.
Sounds like there's a workaround, but it may be a good idea to set to none automatically when closing the docked form.
The workaround does not work on debugging since the events OnApplicationExit
or FormClosing
are not triggered on debug break. However, the solution requires DebuggerEvents_OnEnterBreakMode
which is hard to implement on Winforms.