Skip to main content

GridOptionsDetail.ShowDetailTabs Property

Gets or sets whether detail tabs are displayed. This option must be applied to a master view.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowDetailTabs { get; set; }

Property Value

Type Default Description
Boolean true

true to display detail tabs; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowDetailTabs
GridView
.OptionsDetail .ShowDetailTabs

Remarks

A single master row can contain multiple detail views. The ShowDetailTabs property specifies whether detail tabs are displayed. Users can utilize these tabs to switch between detail views. In the image below, the master view displays Products and Category detail tabs.

Show Detail Tabs

In the following image, tabs are hidden.

Hide Detail Tabs

If the EnableDetailToolTip option is enabled, a detail tooltip is displayed when the mouse pointer hovers over the master row’s expand button. These tooltips allow users to switch between detail views.

Hide Detail Tabs

Note that expand buttons are not displayed if the EnableMasterViewMode or ShowDetailButtons option is disabled.

See Also