windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-idocumentgroupproperties-07a76fa5.md
Gets or sets if a document selector button should be displayed within all DocumentGroups.
Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
bool ShowDocumentSelectorButton { get; set; }
Property ShowDocumentSelectorButton As Boolean
| Type | Description |
|---|---|
| Boolean |
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:
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
IDocumentGroupProperties Interface