If I add a tool window to a RadDock I can drag the window off the form to create a new window. If I add a document window, however, I cannot drag it off the form to create a new form like window.
Can anyone advise what my options are here?
Slicc
This feature is valid only for ToolWindow type of dock windows. The ToolWindow type of dock windows supports floating DockState and can also be docked in Document window container like a DocumentWindow instance. To support this functionality in your application, please change the instance of DocumentWindow with ToolWindow. Here is a sample example:
using System.Windows.Forms;
using Telerik.WinControls.UI.Docking;
namespace Lab.Dock
{
public partial class DockDocumentToolWindow : MainForm
{
private RadDock radDock = new RadDock();
public DockDocumentToolWindow()
{
InitializeComponent();
radDock.Dock = DockStyle.Fill;
radDock.Parent = this;
radDock.BringToFront();
DocumentWindow window = new DocumentWindow("MyDocument");
ToolWindow tool = new ToolWindow("MyTool");
radDock.DockWindow(tool, DockPosition.Right);
radDock.AddDocument(window);
radDock.AddDocument(tool);
}
}
}
Please view the attached screenshots for the result of ToolWindow dock operations.