Udostępnij za pośrednictwem


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

  • Anonymous
    September 24, 2010
    ProgressDialog.xaml appears to be missing

  • Anonymous
    September 24, 2010
    Thanks, Kevin, I've got this fixed and uploaded.

  • Anonymous
    October 11, 2010
    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?

  • Anonymous
    October 11, 2010
    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?

  • Anonymous
    October 11, 2010
    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?

  • Anonymous
    October 17, 2010
    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.