A newer version of this page is available. Switch to the current version.

BaseView.UseDocumentSelector Property

Gets or sets if a Document Selector is enabled for the current Document Manager.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean UseDocumentSelector { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

A DefaultBoolean value specifying if a Document Selector is enabled for the current Document Manager

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object's parent object setting (e.g., a control setting).

Remarks

Forms within the DocumentManager can be presented in either the NativeMdiView or the TabbedView. For both these options, the Document Selector can be used. Invoked via the CTRL+TAB or CTRL+SHIFT+TAB shortcut, it allows you to switch to a specific document or dock panel (much like Microsoft Visual Studio). The following figure illustrates what the Document Selector looks like:

Document Manager Document Selector

Users can press the TAB and Arrow keys to navigate within the Document Selector. A small preview of the currently focused item is displayed for ease of navigation. When an end-user displays/hides a document selector, the BaseView.DocumentSelectorShown and BaseView.DocumentSelectorHidden events are fired. You can also check if a document selector is currently displayed via the BaseView.IsDocumentSelectorVisible property.

The default UseDocumentSelector value works the same as true, enabling the Document Selector.

See Also