I am trying to embed a Unity application inside WPF. Everything works fine except if the unity windows is not the current document tab. I won't initialize properly and resize event become problematic.
I tried on application start to set my current active windows to my ContentControl with this line:
dockingManager.ActivateWindow("Dock3DView")
This code as no effect. I also tried:
dockingManager.ActiveWindow = Dock3DView;
My problem is that I can manually place the first tab to Dock3DView with the xaml, but if I want to call function to Unity and make sure it's the top most tab before doing, all I can do is prevent it from happening. I cannot find a way to bring it to the active tab.
Thanks in advance.