LayoutGroup.TabHeaderLayoutType Property
Gets or sets how the LayoutGroup displays the tab headers corresponding to the group’s child items. This property is in effect if the current group displays child items as tabs. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.1.dll
NuGet Package: DevExpress.Wpf.Docking
Declaration
Property Value
Type | Description |
---|---|
TabHeaderLayoutType | A TabHeaderLayoutType value that specifies how the LayoutGroup displays the tab headers corresponding to the group’s child items. |
Available values:
Name | Description |
---|---|
Default | The same as the TabHeaderLayoutType.Scroll option. |
Trim | Tab headers are displayed in a single row. Tab header text is trimmed, if required, to fit all the tabs in the row. |
Scroll | Tab headers are displayed in a single row. Scroll buttons are enabled to scroll through the tabs, if necessary. |
MultiLine | Tab headers are displayed in multiple rows. |
Remarks
Set the LayoutGroup.GroupBorderStyle property to GroupBorderStyle.Tabbed to enable the tabbed interface for a LayoutGroup object.
The following code sample sets the TabbedGroup’s TabHeaderLayoutType property to TabHeaderLayoutType.Scroll.
<dx:ThemedWindow
...
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
<dxdo:DockLayoutManager>
<dxdo:LayoutGroup>
<dxdo:TabbedGroup TabHeaderLayoutType="Scroll">
<dxdo:LayoutPanel Caption="Error List"/>
<dxdo:LayoutPanel Caption="Output"/>
<dxdo:LayoutPanel Caption="Find Results"/>
<dxdo:LayoutPanel Caption="Solution Explorer"/>
</dxdo:TabbedGroup>
</dxdo:LayoutGroup>
</dxdo:DockLayoutManager>
</ThemedWindow>