Tuesday, January 22, 2013

What method call after Deployment.Current.Dispatcher.BeginInvoke(() => function()) in Silverlight View

What method call after Deployment.Current.Dispatcher.BeginInvoke(() => function()) in Silverlight View

I have a ViewModel named "Books" in which I have written the Download book and Load list of books functionality. The problem is that when first time View loads then it calls the Constructor of view or load method but when I call

Deployment.Current.Dispatcher.BeginInvoke(() => function()); 

then what specific method is called in Viewmodel or can we call a method in View? Just say that I call LoadBooksData() with dispatcher. How could we differentiate that now books loading done in already loaded view?

Answers & Comments...




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog