May I ask about how to write a countdown timer (Hours, Minutes,Seconds) in UWP ? I saw a lot of example in stack overflow but it only for Windows Forms. Thank You.
Asked
Active
Viewed 662 times
0
-
There are plenty of samples: [one](http://stackoverflow.com/q/13772955/2681948), [two](http://stackoverflow.com/q/34271100/2681948) and more. Have you tried? – Romasz Feb 19 '17 at 09:11
1 Answers
0
Assuming you want to execute a task when the application is on the foreground you can use DispatcherTimer Class to do this. You can have a look at the examples and know more about them.
Hope this Helps..!

Pratyay
- 1,291
- 14
- 23
-
-
DispatcherTimer would be good, but it is not really accurate compared to for example System.Threading.Timer – Marian Dolinský Feb 19 '17 at 19:00