Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

bool ShowDocumentSelectorButton { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

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