Running multi ui threads in the same process


part of my testing requirements are running multi application each with is own ui thread to verify every thing is working as it should be.

But when I use the Avalon dock I get a cross thread exception.

I have traced the issue to the file: FocusElementManager.cs , it is a static class and there for all activity is registered to it.

by making it threadstatic i was able to make things work pretty fast.

I don't know if this is the last point where i will get stuck but at the moment it works fine, and it seems to be with very little risk to the main users.

hope it can get in to the trunk.

file attachments


guip wrote Mar 3, 2014 at 6:06 PM

Thanks for the patch !
Could you share the code you have used to create multiple UI Threads inside AvalonDock ?
Thanks !