How do you show progress when IsIndeterminate=“True” in a WPF progress bar?

后端 未结 7 637
没有蜡笔的小新
没有蜡笔的小新 2020-12-31 07:50

This has to be the simplest question of all, but I cannot seem to figure it out. I have the progress bar in place. How do I make it show progress? How do I start the thing?<

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-31 08:23

    A possible workaround of the problem is to simply show or hide the ProgressBar control:

    progressBar.Visibility = Visibility.Visible;
    
    progressBar.Visibility = Visibility.Collapsed;
    

提交回复
热议问题