IDocumentGroupProperties.HeaderButtonsShowMode Property

Gets or sets when tab buttons are displayed within all DocumentGroups' tab header panels.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

TabButtonShowMode HeaderButtonsShowMode { get; set; }
Property HeaderButtonsShowMode As TabButtonShowMode

Property Value

Type Description
TabButtonShowMode

A TabButtonShowMode enumerator value that specifies when tab buttons are displayed within all DocumentGroups' tab header panels. The Default value acts in the same way as the WhenNeeded value.

Remarks

The tab header panel can display the Close, Next and Prev buttons. The Next and Prev buttons enable end-users to scroll through the tabbed documents when the DocumentGroup's width is insufficient to display all the documents simultaneously. The options provided by the TabButtons enumeration allow you to specify which buttons can be displayed. These options are passed to the IDocumentGroupProperties.HeaderButtons property.

To specify when the tab buttons must be displayed, use the HeaderButtonsShowMode property. Depending on the HeaderButtonsShowMode property value, tab buttons can be always visible, displayed when required or permanently hidden.

Individual tabbed documents can also display Close buttons, as specified by the IDocumentGroupProperties.ClosePageButtonShowMode property.

All the properties mentioned are duplicated in the IDocumentGroupDefaultProperties interface. Use these to specify required options for individual DocumentGroups.

See Also