I have a raddock and i add a usercontrol to the raddock DocumentWindow using :
HostWindow host2 = this.rdkMain.DockControl(estPanel2, winProject, Telerik.WinControls.UI.Docking.DockPosition.Fill,DockType.Document);
The window shows up correctly in the RadDock, however the underlying type is HostWindow (which behaves like a ToolWindow) and not a DocumentWindow. I need a DocumentWindow so that when I Float this window it appears like my other DocumentWindows. See attached images.
TabsDocked image shows the tabs appear correctly when docked, HostWindow is Estimate2, the DocumentWindow is documentWindow1
TabsFloating you can see that the tabstrip displays differently between floating as a HostWindow and a DocumentWindow because the HostWindow is "interpreted" as a ToolWindow. I know there are other differences between ToolWindows and DocumentWindows, so I want to stay with the full DocumentWindow implementation and appearance if at all possible...
How can i add a usercontrol to the Dock as a DocumentWindow?
Many thanks in advance