Skip to main content

DXTabItem.HeaderOrientation Property

Gets the orientation of tab headers.

Namespace: DevExpress.Xpf.Core

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

#Declaration

public HeaderOrientation HeaderOrientation { get; }

#Property Value

Type Description
HeaderOrientation

One of the HeaderOrientation enumeration members, representing the orientation of tab headers.

#Remarks

The tab headers can be oriented in two ways:

  • Horizontally

    TabControl_HorizontalHeaderOrientation

  • Vertically

    TabControl_VerticalHeaderOrientation

The headers' orientation can be customized only in specific views. For instance, when the DXTabControl is in the scroll view mode, the orientation can be specified via the TabControlScrollView.HeaderOrientation property. If the current view does not support customizing the headers' orientation, the HeaderOrientation.Default value is returned.

The HeaderOrientation.Default value means that the orientation is defined by the current view and the location of the Header Panel. The Header Panel location is specified by the DXTabControl view's TabControlViewBase.HeaderLocation property. The view is accessed via the DXTabControl.View property.

See Also