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

BaseView.DetailTabHeaderLocation Property

Gets or sets the position of detail tabs within detail sections.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

[DefaultValue(TabHeaderLocation.Top)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public virtual TabHeaderLocation DetailTabHeaderLocation { get; set; }

#Property Value

Type Default Description
TabHeaderLocation Top

A TabHeaderLocation enumeration value specifying the position of detail tabs.

Available values:

Name Description
Left

The tab headers are located along the left side of the tab control.

XtraTabControl_TabHeaderLocation_Left

Right

The tab headers are located along the right side of the tab control.

XtraTabControl_TabHeaderLocation_Right

Top

The tab headers are located along the top of the tab control.

XtraTabControl_TabHeaderLocation_Top

Bottom

The tab headers are located along the bottom of the tab control.

XtraTabControl_TabHeaderLocation_Bottom

#Remarks

If a master row has multiple details, end-users can switch between available details using detail tabs. Note that these tabs are available only when the master row is expanded and the View’s GridOptionsDetail.ShowDetailTabs option is enabled. Use the DetailTabHeaderLocation property to specify the position of detail tabs. The image below illustrates all available options.

BaseView_DetailTabHeaderLocation.gif

Note

The position of detail tabs cannot be changed in embedded detail mode. The DetailTabHeaderLocation property is ignored.

See Also