You can right click on a tab in the XamDockManager and toggle between a tabbed document and a floating window. How can I do this in C# so I can execute this behavior from a button click.
These actions are associated with content pane commands so you can use them, for example :
ContentPane cp = new ContentPane();
cp.ExecuteCommand(ContentPaneCommands.ChangeToDocument);
ContentPaneCommands.ChangeToFloatingOnly works to float the window but the window always comes up in the small possible size. I have tried
XamDockManager.SetFloatingLocation(pane, new Point(20, 20));
XamDockManager.SetFloatingSize(pane, new Size(300, 200));
both before and after the ExecuteCommand but the window doesn't size. How can i set the size of the floated tab window?