Skip to main content

IDocumentGroupDefaultProperties.ActualHeaderOrientation Property

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

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

TabOrientation ActualHeaderOrientation { get; }

Property Value

Type Description
TabOrientation

A TabOrientation value that specifies the actual 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 of document groups. This setting is applied to all document groups by default. The IDocumentGroupDefaultProperties.HeaderOrientation property allows you to override the IDocumentGroupProperties.HeaderOrientation property for the current document group. To override the default setting, set the IDocumentGroupProperties.HeaderOrientation property to any TabOrientation value except Default.

The ActualHeaderOrientation property returns the actual header orientation of the current document group, based on a View’s IDocumentGroupProperties.HeaderOrientation and the current group’s IDocumentGroupDefaultProperties.HeaderOrientation properties.

See Also