C#C
C#3y ago
edgarka_

✅ BackgroundWorker in WPF MVVM

Hi! I'm trying to get progressbar and text to update while performing a lengthy task. I was wondering if it is possible to do so or should I create a thread for "PerformTask" file separately? I tried to play around with BackgroundWorker, and it updates "CurrentProgress" variable, but UI updates only after execution. GitHub: https://github.com/EdgarKa/AsyncProgressDemo
Thank you 🙂
Edit: I dropped GitHub repo so it would be easier to see and/or run as due to files amount it would be lengthy
GitHub
Contribute to EdgarKa/AsyncProgressDemo development by creating an account on GitHub.
Was this page helpful?