XtraTabControl.HeaderOrientation Property

Gets or sets the orientation of the tab headers.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v21.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(TabOrientation.Default)]
public virtual TabOrientation HeaderOrientation { get; set; }

Property Value

Type Default Description
TabOrientation

Default

A TabOrientation enumeration member which specifies the orientation of the tab headers.

Available values:

Name Description
Default

The default behavior determined by controls.

For an XtraTabControl, the orientation of the tab headers depends upon the XtraTabControl.HeaderLocation property’s value. If the tab headers are located across the bottom or top of the tab control, they are horizontally oriented. Otherwise, if the tab headers are located along the left or right side of the tab control, they are vertically oriented.

For a TabbedView in a DocumentManager, the Default option is equivalent to Horizontal.

Horizontal

The tab headers are horizontally oriented.

XtraTabControl_TabOrientation_Horizontal

Vertical

The tab headers are vertically oriented.

XtraTabControl_TabOrientation_Vertical

Remarks

Use the HeaderOrientation property to specify whether the tab headers are oriented horizontally or vertically. If this property is set to the TabOrientation.Default value, the orientation of the tab headers depends upon the XtraTabControl.HeaderLocation property’s value. If the tab headers are located across the bottom or top of the tab control, they are horizontally oriented. Otherwise, if the tab headers are located along the left or right side of the tab control, they are vertically oriented.

See Also