Is there a way to move a document window programmatically?
Is there a way to move a document window programmatically?
Hello,
Since you are a WPF Controls owner, I wanted to clarify that this thread was posted in the WinForms Controls forum in case that was by accident. The information below is related to the WinForms Docking/MDI product.
While tool windows have a lot of methods to dock in various locations in the layout, document windows are restricted to the MDI area. The DocumentWindow base class TabbedMdiWindow has several Move* methods like MoveToNewHorizontalTabbedMdiContainer that are effectively what the tab context menu items call. The DocumentWindow class also has an Undock method that will float the document.
The WPF version of our Docking/MDI product has more extensive APIs and features in general. If you are using our WPF Docking/MDI product instead, here is the documentation topic that discusses programmatic layout change methods.
Please log in to a validated account to post comments.