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

IDocumentGroupProperties.HeaderOrientation Property

Gets or sets the value that specifies the header orientation for document groups.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

TabOrientation HeaderOrientation { get; set; }

Property Value

Type Description
TabOrientation

A TabOrientation value that specifies the header orientation for document groups.

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 a View’s HeaderOrientation property to specify the header orientation for document groups. This setting is applied to all document groups by default. The IDocumentGroupDefaultProperties.HeaderOrientation property allows you to override the HeaderOrientation property for an individual document group. To override the default setting, set the IDocumentGroupDefaultProperties.HeaderOrientation property to any TabOrientation value except Default.

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