Update to the Progress Dialog.


I’ve made some refactoring to the Progress Dialog code:

First of all I changed the name. Now it’s ProgressIndicator.

Second, this class is now a custom control derived from ContentControl. And last, I twicked the styles and the code so it matches the look-n-feel of the native progress indicator functionality. Such as displaying a status label next to the progress bar and also do not show the dialog full screen when the progress displayed on the top of the page. In this case it will satisfy the requirement  that the UI should stay responsive when this is happenning. The download is at the MSDN code galleries (ProgressIndicator).

 

 

Comments (6)

  1. Kevin Daly says:

    ProgressDialog.xaml appears to be missing

  2. priozersk says:

    Thanks, Kevin, I've got this fixed and uploaded.

  3. Prathiraj Chakka says:

    I notice a jump in the UI when the progress indicator is shown. This is likely to be because progress indicator hides the system tray but it doesn't seem to bring it back. Is this known issue?

  4. Prathiraj Chakka says:

    I notice a jump in the UI when the progress indicator is shown. This is likely to be because progress indicator hides the system tray but it doesn't seem to bring it back. Is this known issue?

  5. Prathiraj says:

    I notice a jump in the UI when the progress indicator is shown. This is likely to be because progress indicator hides the system tray but it doesn't seem to bring it back. Is this known issue?

  6. Deepa Gill says:

    I also notice a jump in the UI.

    Works great when i try to add the in codebehind. When i add the control using xaml not position correctly.