Partilhar via


NicolTIP#027: How to update the UI from a worker thread on Windows Phone 7?

Use “Deployment.Current.Dispatcher.BeginInvoke”.

sample:

 Deployment.Current.Dispatcher.BeginInvoke(delegate()
 {
         LoadingBar = Visibility.Collapsed;
 });