Back to Devexpress

BaseView.DetailTabHeaderLocation Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-fd4c8b1e.md

latest3.4 KB
Original Source

BaseView.DetailTabHeaderLocation Property

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

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(TabHeaderLocation.Top)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public virtual TabHeaderLocation DetailTabHeaderLocation { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(TabHeaderLocation.Top)>
<XtraSerializableProperty>
Public Overridable Property DetailTabHeaderLocation As TabHeaderLocation

Property Value

TypeDefaultDescription
TabHeaderLocationTop

A TabHeaderLocation enumeration value specifying the position of detail tabs.

|

Available values:

NameDescription
Left

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

| | Right |

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

| | Top |

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

| | Bottom |

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

|

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.

Note

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

See Also

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace