c# - Implementing Progress bar using WPF with MVVM pattern (without BackgroundWorker) -


i have wpf application built on mvvm design pattern.

i wish implement progress bar in app, follows mvvm pattern.

i found solutions implement using background-worker class. reasons not allowable use background worker.

does 1 have suggestions on how implement this?

thanks in advance

the basics simple.

view:

 <progressbar value="{binding progressvalue}" /> 

viewmodel:

 public double progressvalue { get/set inpc } 

but remaining challenge set viewmodels progressvalue non-blocking process in thread-safe manner.

your question lacks details that.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -