Back to Devexpress

LayoutGroup.TabHeaderLayoutType Property

wpf-devexpress-dot-xpf-dot-docking-dot-layoutgroup-fd1948e5.md

latest3.5 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public TabHeaderLayoutType TabHeaderLayoutType { get; set; }
vb
Public Property TabHeaderLayoutType As TabHeaderLayoutType

Property Value

TypeDescription
TabHeaderLayoutType

A TabHeaderLayoutType value that specifies how the LayoutGroup displays the tab headers corresponding to the group’s child items.

|

Available values:

NameDescription
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.

xaml
<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>

See Also

GroupBorderStyle

ScrollNext()

ScrollPrev()

FixedMultiLineTabHeaders

LayoutGroup Class

LayoutGroup Members

DevExpress.Xpf.Docking Namespace