Skip to main content

TabControlScrollView.HeaderOrientation Property

Gets or sets the orientation of tab headers. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public HeaderOrientation HeaderOrientation { get; set; }

Property Value

Type Description
HeaderOrientation

One of the HeaderOrientation enumeration members specifying the orientation of tab headers.

Available values:

Name Description
Default

The orientation of tab headers in the Header Panel is defined by the location of the Panel, specified by the TabControlViewBase.HeaderLocation property. The headers are oriented horizontally if the Header Panel is located at the top or bottom of the tab item. Otherwise, they are oriented vertically.

Horizontal

The tab headers in the Header Panel are oriented horizontally.

Vertical

The tab headers in the Header Panel are oriented vertically.

Remarks

The tab headers can be oriented in two ways:

  • Horizontally

    TabControl_HorizontalHeaderOrientation

  • Vertically

    TabControl_VerticalHeaderOrientation

When the HeaderOrientation property is set to Default, the headers’ orientation is defined by the location of the Header Panel, specified by the TabControlViewBase.HeaderLocation property. If the Header Panel is located on the left or right side of the tab item, the headers are oriented vertically. Otherwise, the headers are oriented horizontally.

See Also