WpfAppBar icon indicating copy to clipboard operation
WpfAppBar copied to clipboard

Problem on exiting while docked

Open Phil403 opened this issue 6 years ago • 3 comments

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)

Phil403 avatar Jun 24 '18 15:06 Phil403

Before exiting, set the dock mode to None and you'll be good.

TonyValenti avatar Aug 10 '18 12:08 TonyValenti

Sounds like there's a workaround, but it may be a good idea to set to none automatically when closing the docked form.

PhilipRieck avatar Sep 11 '18 19:09 PhilipRieck

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.

zbalkan avatar Jan 28 '21 18:01 zbalkan