I have a WPF Application using a DispatcherTimer
. When the user MouseDowns on any button in the ControlBox ('-' Minimize, '□' Maximize, 'X' Exit), the DispatcherTimer
stops - even if the buttons are disabled. If the user moves the mouse outside of the ControlBox area (nothing will be triggered on release), the DispatcherTimer
will not resume until the mouse is released.
I need the ControlBox to be visible and enabled.
Is there any way to keep the DispatcherTimer
running continuously until the WPF application is terminated?
To provide an example: In Google Chrome, navigating to any video / gif and then clicking in the ControlBox will immediately cause the video / gif to pause playback (you can try it on YouTube). However, this phenomena does not occur in Firefox. Thanks for any help!