Skip to main content
A newer version of this page is available. .

IDocumentGroupDefaultProperties.ShowDocumentSelectorButton Property

Gets or sets if a document selector button should be displayed within the individual DocumentGroup.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

DefaultBoolean ShowDocumentSelectorButton { get; set; }

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumeration value that specifies if a document selector button should be displayed within the individual document group. The DefaultBoolean.Default value acts as DefaultBoolean.True.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

Every DocumentGroup has a document selector button - an element designed to accomplish easy 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 IDocumentGroupDefaultProperties interface, manages a document selector button’s availability for individual document groups. It overrides the corresponding settings provided by the IDocumentGroupProperties.ShowDocumentSelectorButton property that specifies document selector buttons for all groups within a tabbed view.

Document selector buttons are enabled by default. In order to hide them, use the following code:

(documentManager1.View as DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView).DocumentGroups[0].Properties.ShowDocumentSelectorButton = DefaultBoolean.True;
See Also