Documents
Document objects resemble dock panels and serve the very same goal - to host content within floating or tabbed MDI windows. You can click a document’s caption, and drag this document to dock or undock it in the same manner as dock panels. However, there are certain differences between documents and dock panels.
View
While dock panels can be docked to any form’s edge, documents can only be docked in a special area called a tabbed View. When you drag a document, docking hints will tell you where this area is. The image below illustrates a tabbed View within a tabbed MDI application.
Dock panels can also be docked into this area, but documents cannot be docked to auto-hide containers and form edges.
Floating Document Container
As you can see from the image above, documents can be nested into a floating document container. If this feature is enabled, it allows you to organize all of your floating documents in a single floating container (and avoid a cluttered UI with multiple floating windows). If you want to dock your floating documents once again, simply drag this container in the same manner in which you drag documents. Docking a floating container into a tabbed View will dock all of the container's documents into this View. You can also rearrange within or drag individual documents out of this container.
Tabbed Groups
Documents within a tabbed View can be docked to vertical or horizontal document groups. To do so, use the side docking hint when dragging a document, or right-click the document header and select the New Tab Group item in the invoked context menu (see the figure below).
Navigation
To navigate through documents (and dock panels, if any exist), you can use the Document Selector, invoked via the CTRL+Tab keyboard hotkey. This tool displays a small preview of each focused document (dock panel) and its short description. You can see the Document Selector in the next image.
Mouse Operations and Keyboard Shortcuts
- Double-click a docked document's caption - undock the document and make it floating.
- Ctrl+Double-click a floating document's caption - docks the floating document to its previous docking position.
- Ctrl+Tab or Ctrl+Shift+Tab - shows the Document Selector.