Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TabbedGroup.HeaderOrientation Property

Gets or sets the orientation of tab headers.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
TabOrientation Default

A TabOrientation enumeration member which specifies the orientation of 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 tab headers are oriented horizontally or vertically.

The group’s inherited BaseLayoutItem.TextLocation property specifies whether tab headers are displayed along the group’s top, bottom, left or right edge. If the HeaderOrientation property is set to Default and tab headers are displayed along the top or bottom edge, tab headers are oriented horizontally. If tab headers are displayed along the left or right edge, they are oriented vertically.

See Also