Reputation: 2855
I have a static method that determines what window is to be called next, but I seem to have no way to navigate to a new window. NavigationService.navigate can only be called from a non-ui thread and the dispatcher doesn't seem to be able to be stored statically and Application.Current.Dispatcher doesn't seem to exist at all in silverlight. If anybody has any tips I would be very grateful.
Edit: Found a way to store the dispatcher don't know why visual studio wouldn't let me before
Upvotes: 0
Views: 208
Reputation: 8126
Maybe you looking for Deployment.Current.Dispatcher
available from any place
Upvotes: 1