Skip to main content
A newer version of this page is available. .

XtraTabControl.HeaderOrientation Property

Gets or sets the orientation of the tab headers.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(TabOrientation.Default)]
[SmartTagProperty("Header Orientation", "")]
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HeaderOrientation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also