Back to Devexpress

TabFormControlBase.ShowTabsInTitleBar Property

windowsforms-devexpress-dot-xtrabars-dot-tabformcontrolbase-a320a9ae.md

latest2.6 KB
Original Source

TabFormControlBase.ShowTabsInTitleBar Property

Gets or sets whether the page tabs are displayed immediately below the TabForm top edge, in place of the regular title bar.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(ShowTabsInTitleBar.False)]
public ShowTabsInTitleBar ShowTabsInTitleBar { get; set; }
vb
<DefaultValue(ShowTabsInTitleBar.False)>
Public Property ShowTabsInTitleBar As ShowTabsInTitleBar

Property Value

TypeDefaultDescription
DevExpress.XtraBars.ShowTabsInTitleBarFalse

A DevExpress.XtraBars.ShowTabsInTitleBar enumeration value that specifies whether page tabs are displayed in place of the regular title bar.

|

Remarks

By default, when the ShowTabsInTitleBar property is set to False , the TabForm displays the regular title bar and TabFormControlBase.TitleItemLinks collection items. See the figure below.

Set the ShowTabsInTitleBar property to True to display the page tabs immediately below the TabForm top edge, while the regular title bar and the TabFormControlBase.TitleItemLinks collection items are hidden. See the figure below.

In the case of this layout, the TabFormControlBase.TitleTabVerticalOffset property allows you to specify the amount of space between the TabForm top edge and the tabs.

See Also

TitleTabVerticalOffset

TabFormControlBase Class

TabFormControlBase Members

DevExpress.XtraBars Namespace