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

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

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

See Also