Skip to main content

IDocumentGroupDefaultProperties.HeaderOrientation Property

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

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

TabOrientation HeaderOrientation { get; set; }

Property Value

Type Description
TabOrientation

A TabOrientation value that specifies the header orientation for the current document group.

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

See Also