How to run a progress bar in different thread in WPF?
问题 I am populating the list view items dynamically. At the same time I wanna display a progress bar. When data populated the progress bar should be disabled. How to achieve this. I am new in WPF. 回答1: You can use the BackgroundWorker class, which simplifies the handling of background threads when you are working with WPF. There are plenty of examples on the web for this. Here two from codeproject, but it's easy to find more examples: http://www.codeproject.com/Tips/83317/BackgroundWorker-and