Good day,
I'm using AvalonDock in my project since a few months, and I really appreciate it. I just passed to version 2, using MVVMT. However, I get a really annoying problem.
My software is using a Windows Form control that draws large 3D meshes. To make it work in WPF, I use a WindowsFormsHost control that I have included in a WPF UserControl. This UserControl is contained in an AvalonDock LayoutDocument. The 3D control may take 10 to 20 seconds to build complex 3D shapes because of the large number of points.
My problem is that, when the user chooses to make the window a floating window, my 3D control gets destroyed and another one is created automatically, and this takes another 10 to 20 seconds. It there a way for AvalonDock to reuse the same WPF UserControl when the user asks for a floating window, instead of destroying the first one and rebuilding another one?
For MVVM, I use a method similar to what is suggested in the test application AvalonDock.MVVMTestApp
Thanks a lot!