Back to Devexpress

IDocumentGroupProperties.ShowDocumentSelectorButton Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-idocumentgroupproperties-07a76fa5.md

latest3.0 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
bool ShowDocumentSelectorButton { get; set; }
vb
Property ShowDocumentSelectorButton As Boolean

Property Value

TypeDescription
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:

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:

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

See Also

ShowDocumentSelectorButton

IDocumentGroupProperties Interface

IDocumentGroupProperties Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace