0

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.

  • 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 Answers1

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