Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Collapse]Application UI Manager
   [Collapse]Views
    [Expand]Widget View
    [Expand]WindowsUI View
     Tabbed View
     Native MDI View
     Document Selector
     Non-Document Mode
    Documents
   [Expand]Deferred Load
   [Expand]Interaction with Dock Panels
   [Expand]Bar and Ribbon Merging
   [Expand]Examples
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Non-Document Mode

A DocumentManager can be used along with a DockManager to build streamlined and powerful user interfaces. DockPanels built using the DockManager gain certain features (unified dock hints, document selector, etc.) when the DockManager and DocumentManager are used together. See Interaction with Dock Panels for more information on these features.

Normally, a Document Manager is used to manage multiple Documents. If you do not need to create multiple documents, you can still use the DocumentManager in Non-Document Mode to enhance your DockPanels with the mentioned features. Place the DocumentManager onto the form and switch it to the Non-Document Mode by assigning your form's client control to the DocumentManager.ClientControl property. The client control is typically a control (user control, grid, panel, etc.) that fills your form. If you have multiple controls, you can consider combining them into a single panel, and assign this panel to the DocumentManager.ClientControl property.

Note

The ClientControl should fill the form's space in its entirety. Otherwise, you may observe the incorrect positioning of dock hints when dragging-and-dropping a panel.

In the image below, the form contains dock panels and a GridControl. To provide enhanced features for docking panels, place the DocumentManager onto the form and set the DocumentManager.ClientControl property to the GridControl.

How would you rate this topic?​​​​​​​