Back to Devexpress

XtraTabControl.HeaderOrientation Property

windowsforms-devexpress-dot-xtratab-dot-xtratabcontrol-77e1b16f.md

latest3.2 KB
Original Source

XtraTabControl.HeaderOrientation Property

Gets or sets the orientation of the tab headers.

Namespace : DevExpress.XtraTab

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(TabOrientation.Default)]
[DXCategory("Appearance")]
public virtual TabOrientation HeaderOrientation { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(TabOrientation.Default)>
Public Overridable Property HeaderOrientation As TabOrientation

Property Value

TypeDefaultDescription
TabOrientationDefault

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

|

Available values:

NameDescription
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.

| | Vertical |

The tab headers are vertically oriented.

|

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

HeaderLocation

XtraTabControl Class

XtraTabControl Members

DevExpress.XtraTab Namespace