A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
Welcome to our Microsoft Q&A platform!
I think you can use System.Windows.Threading.Timer to handle your tick.
see the following link:
why-does-the-dispatcher-timer-in-wpf-lag-when-i-hover-over-my-application-window
Thanks.