I have a ribbon docking window application.
inside is a toolwindow that is set to float.
After that i stop the application and use the DockSiteLayoutSerializer to save the layout structure.
Next i start the application and load the layoutstructure with the DockSiteLayoutSerializer
What happens is that the floating window is behind my application. Looks like the owner of the toolwindow is not set.
If i than close and open the toolwindow (or dock and float again), it is again working as expected.
I wanted to add load/save code to the ribbonwindow with docking demo from the actipro example, but am not able to show the code behind the xaml window (also a bug?)???
EXAMPLE:
put in the closing of the ribbonwindow with docking demo this code:
Dim Layout As String = New ActiproSoftware.Windows.Controls.Docking.Serialization.DockSiteLayoutSerializer().SaveToString(dockSite)
'save the layout to disk
And in the load of the same window:
'Load the layout from disk
Dim v As New ActiproSoftware.Windows.Controls.Docking.Serialization.DockSiteLayoutSerializer
v.LoadFromString(Layout, DockSite)