Skip to main content
A newer version of this page is available. .

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.v21.1.dll

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

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
AdvBandedGridView
.OptionsDetail .ShowDetailTabs
BandedGridView
.OptionsDetail .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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowDetailTabs property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also