Quantcast
Channel: ProgressBar using MVVM
Browsing all 13 articles
Browse latest View live

ProgressBar using MVVM

As you continue on with MVVM, you will discover that commanding is the key to handling a number of situations in MVVM.  I'd keep Bob's code somewhere handy, you will likely need it some time soon.John...

View Article



ProgressBar using MVVM

Thank you very much. Though I dont intend to use prism or other frameworks for MVVM at the moment, I am glad that your replies help me understand it. Thank you :)

View Article

Image may be NSFW.
Clik here to view.

ProgressBar using MVVM

Either the DelegateCommand from Prism or the RelayCommand from Josh's MVVM article, they are the implementation of the ICommand interface. For binding one Command object/property in the ViewModel to...

View Article

ProgressBar using MVVM

You can simply use RelayCommand from Josh Smith's famous MVVM article.Thanks, Muhammad shujaatsiddiqi.blogspot.comMuhammad Siddiqi

View Article

ProgressBar using MVVM

@ Bob Bao:I think the DelegateCommand doesnt work with the normal VS 2010 and requires Prism. Is it possible that I could substitute it with something to work with VS 2010?@ Wodahs:Thank you :) I...

View Article


ProgressBar using MVVM

Can't really tell from your snippet, but I think you may have it backwards.  The UI thread needs to be idle, while the background worker works.  I'm just going to do some very simplified pseudo code to...

View Article

Image may be NSFW.
Clik here to view.

ProgressBar using MVVM

Well, I can share the code here. I use a command on one button, and in the command, I start one BackgroundWorker to update the model.Progress value.Below is the code of the Model:publicclass Model :...

View Article

ProgressBar using MVVM

Wodahs,I tried to implement it using BackgroundWorker class.The problem is that, the UI thread is running, while the backgroundworker has been getting the updates, yet it doesnt update it.Let me give...

View Article


ProgressBar using MVVM

Thank you bob. I will check it outside my office since it seems to be blocking the website :(

View Article


Image may be NSFW.
Clik here to view.

ProgressBar using MVVM

Not same with the idea from Geert, I do not use the Catel project, but it is a very good MVVM pattern project. My sample useBackgroundWorker to update the ProgressBar in...

View Article

ProgressBar using MVVM

Sounds like Execute is running on the UI thread (i.e. the same thread as the View) in which case the UI won't update till it's done.Use a background worker for this and update your progress property in...

View Article

ProgressBar using MVVM

In Catel, we have built a thing called View Model To Model mappings. It automatically takes over this stuff for you. Another option is to show a progress indicator without a progress (a "busy...

View Article

ProgressBar using MVVM

I have a View with a progress bar.This is binded to the ViewModel's property called Progress.The VM also has a property that starts an execution by calling "Execute" method. This Execute() has about 5...

View Article

Browsing all 13 articles
Browse latest View live




Latest Images