Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need information on how to open a new window from Prism 4 - WPF application into a new thread.
Posted

1 solution

You can't open forms onto new threads. They must reside on the UI thread otherwise all sorts of things break. I assume that you have processing that must occur on a different thread - the trick here is to bind your View to a ViewModel, and have that ViewModel perform the processing on a background thread, invoking the results back to the View (which resides on the UI thread).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900