O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Showing a progress bar during calculations

While performing some time-consuming calculations or downloading data from the Internet, it is a good idea to present a progress bar showing that a longer operation is currently in progress and the user would need to wait. In this recipe, you will learn how to show the progress bar during calculations and how to hide it when calculations are completed.

Getting ready

To step through this recipe, you need the automatically generated project configured according to the MVVM design pattern, as described in the Creating the view model for a page recipe.

How to do it...

To create a page with a progress bar shown during calculations, and hidden automatically when calculations are completed, perform the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required