TutuGeorge
TutuGeorge

Reputation: 2012

Accessing the UI object from a background thread

While developing an application for windows Phone 7.1 , i encountered the below problem.

I have separate thread for managing my views . And i want this to access the Navigation stack which is a part of the UI thread. How can i achieve this ?

I have a function in my view manager which gets triggerd every time a view change (navigation) occurs.

Any help ?

Upvotes: 0

Views: 488

Answers (1)

abhinav
abhinav

Reputation: 3217

You could use the Deployment.Current.Dispatcher.BeginInvoke to execute the passed delegate on the UI thread. I am not clear about the specifics of your requirement. Could you add more context? Also, this question has more insight into it.

Upvotes: 3

Related Questions