IDocumentGroupProperties.ShowDocumentSelectorButton Property

Gets or sets if a document selector button should be displayed within all DocumentGroups.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v21.2.dll


bool ShowDocumentSelectorButton { get; set; }

Property Value

Type Description

true if a document selector button should be displayed within all document groups; otherwise, false.


Every DocumentGroup has a document selector button - an element designed to easily accomplish document navigation. Its drop-down menu displays a list of Documents, contained within its parent document group. The following figure illustrates a document selector button:

Document Selector Button

The ShowDocumentSelectorButton property, accessed via the IDocumentGroupProperties interface, manages a document selector button’s availability in all individual document groups within the tabbed view. To override the corresponding settings for individual groups, use the IDocumentGroupDefaultProperties.ShowDocumentSelectorButton property.

Document selector buttons are enabled by default. In order to hide them for all document groups within the current tabbed view, use the following code:

(documentManager1.View as DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView).DocumentGroupProperties.ShowDocumentSelectorButton = false;
See Also