A newer version of this page is available. Switch to the current version.

BaseView.DetailTabHeaderLocation Property

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(TabHeaderLocation.Top)]
[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

See Also