Skip to main content
A newer version of this page is available. .

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

Declaration

public TabHeaderLayoutType TabHeaderLayoutType { get; set; }

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>

DockLayoutManager - TabHeaderLayoutType Scroll

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TabHeaderLayoutType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also