XtraTabControl.HeaderOrientation Property
Gets or sets the orientation of the tab headers.
Namespace: DevExpress.XtraTab
Assembly: DevExpress.XtraEditors.v22.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(TabOrientation.Default)]
[DXCategory("Appearance")]
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. |
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.