Back to Devexpress

DockPanel.TabsScroll Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-6c4b2e16.md

latest2.5 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public bool TabsScroll { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property TabsScroll As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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 = falseTabsScroll = true

See Also

DockAsTab

Tabbed

TabsPosition

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace