Log In
[Expand]General Information
[Collapse]WinForms Controls
 [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]Pivot Grid
  [Expand]Tree List
  [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]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]Report Server
[Expand]eXpressApp Framework
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Document Selector

The Document Selector is a tool that helps to navigate through documents at runtime. An end-user can invoke it by pressing Ctrl+Tab or Ctrl+Shift+Tab keys. The figure below illustrates what the Document Selector looks like:

Use the mouse or press the Up/Down keys (or Tab key) to navigate through Documents. If you use the DockManager component to create DockPanels in your application, you can select these panels via the Document Selector as well (see Interaction with Dock Panels). Panels are displayed in the selector's left row. A document or a dock panel, focused within the Document Selector, will display its BaseDocument.Header, BaseDocument.Footer, BaseDocument.Image and a preview. The focused document (dock panel) will become activated when the Ctrl key is released.

A Document Selector's availability within the current view is specified via the BaseView.UseDocumentSelector property. If this property is set to false, pressing the Ctrl+Tab or Ctrl+Shift+Tab keys will result in an immediate switch to the following document without displaying the Document Selector. Displaying/hiding a Document Selector fires the BaseView.DocumentSelectorShown or BaseView.DocumentSelectorHidden events.

Use the IDocumentProperties.ShowInDocumentSelector selector property to specify whether all the View's Documents should be displayed within the Document Selector. Alternatively, you can specify this attribute for individual Documents via the IDocumentDefaultProperties.ShowInDocumentSelector property.

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