A newer version of this page is available. Switch to the current version.

TabControlScrollView.HeaderOrientation Property

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

Namespace: DevExpress.Xpf.Core

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

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