Skip to main content

DockPanel.TabsScroll Property

Specifies whether tab navigation buttons are displayed when tabs don’t fit into the tab container‘s width/height.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool TabsScroll { get; set; }

Property Value

Type Default Description
Boolean false

true if tab navigation buttons are enabled; otherwise, false.

Remarks

If the TabsScroll property is set to true tabs within a tab container are proportionally resized when they don’t fit into the container’s width (or height if the tabs are arranged vertically).

If the TabsScroll property is set to true and the total width of the tabs exceeds the width/height of the tab container, then the navigation buttons are displayed and these allow users to scroll through the tabs.

The following images show tab containers with the TabsScroll property when it’s set to false and true, respectively:

TabsScroll = false TabsScroll = true
DockPanel_TabScroll_false DockPanel_TabScroll_true
See Also