This article provides information about Progress Controls in Windows Store Apps. Today we will learn how many types of Progress Controls there are and how to use them in a Windows Store App using XAML and C#.
Introduction
Progress Controls are an effective control for UI design from the user's point view. They provide a way to indicate to the user that some task is being performed in the application. Developers use Progress Controls for many purposes such as in downloading tasks, loding resources, or processing some heavy data etc. Usually a Progress Control is used if an operation takes more time to complete.
Types of Progress Controls.
In Windows Store Apps there are mainly three types of Progress Controls; they are:
- Determinate Progress Bar.
- Indeterminate Progress Bar.
- Indeterminate Progress Ring.
In later sections we learn about each of these with an example.
Determinate Progress Bar.
This type of Progress Bar is used to determine the progress of the task being done. It is best used for well-defined durations or the end is predictable,. It shows a bar that displays how much work has been completed and how much is left or in progress.
Properties of the Progress Bar.
There are mainly 3 types of properties used for showing a Determinate Progress Bar; they are:
- Maximum: It specifies the maximum completion value of the Determinate Progress Bar.
- Value: It specifies the current value of the Determinate Progress Bar.
- IsIndeterminate: It sets to false for createion of a Determinate Progress Bar.
Example
To create a Determinate Progress Bar use these steps:
- Create the Markup for Progress Bar.
- Set the IsInderterminate property false.
- Set it's maximum value.
- Set the default value.
Here is the Code:



Summary
Comments
Join the conversation! Your thoughts help the community grow.