[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [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
    [Expand]Widget View
    [Expand]WindowsUI View
     Tabbed View
     Native MDI View
     Document Selector
     Non-Document Mode
   [Expand]Deferred Load
   [Expand]Interaction with Dock Panels
   [Expand]Bar and Ribbon Merging
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Document Selector

The Document Selector dialog allows end-users to switch between Documents and Dock Panels by pressing the following hot-keys:

  • Ctrl + Tab - switch to the previous document (hold "Ctrl" and press "Tab" repeatedly to navigate to previously active documents);
  • Ctrl + Shift + Tab - cycle through documents forward (i.e. in the direction opposite to the Ctrl+Tab navigation);
  • Left and Right arrows - toggle between the Document and panel navigation.

This dialog is supported in all Views except the WindowsUI View. To turn the Document Selector off, disable the BaseView.UseDocumentSelector setting.

Related API

Expanded Item Order

The Document Selector tracks the sequence in which end-users activate Documents and panels, and arranges its items in the reverse order so that a user moves back to previous panels when holding "Ctrl" and repeatedly pressing "Tab". The figure below illustrates the order in which the Document Manager's Documents were activated and how the Document Selector arranges them.

To change this default order, set the IBaseDocumentSelectorProperties.ItemSortMode property to either Alphabetical or Custom. In custom sorting mode, handle the BaseView.DocumentSelectorCustomSortItems event and assign your custom IComparer<BaseDocument> object to the e.DocumentComparer object. You can also create a separate dock panel container and assign it to the e.DockPanelComparer property.

The code sample below illustrates how to implement the custom item order in which Documents appear on-screen.

Is this topic helpful?​​​​​​​