There are different ways to use Progress Ring. In this tutorial I will show two methods to use it. The first one is on button click event and second method is on dispatcher timer.
1. Windows 8/ Windows Phone Progress Ring on Button Click
Step 1:
Drag and Drop two buttons on designer from tool box, name them "Start" and "Stop". Start button will start the progress ring and stop button will stop it, then drop a Progress Ring.
Step 2:
Give a name to the progress ring.
Step 3:
Select Start button from designer then click event tab from properties window and double click on Click field to start coding on that button click event. do similarly for Stop button.
Step 4:
Now write the following code on that button click event.
(ProgressRingName).IsActive=true;
Step 5:
Now write following code for Stop button.
(ProgressRingName).IsActive=false
Step 6: Run the application.
Watch the following video of this tutorial.

Create Your Badge








0 comments:
Post a Comment