Skip to main content

BaseView.DetailTabHeaderLocation Property

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.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