Back to Devexpress

GridOptionsDetail.DetailMode Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsdetail-9b491979.md

latest4.0 KB
Original Source

GridOptionsDetail.DetailMode Property

Gets or sets whether detail Views are painted in Classic mode (master and detail Views have their own vertical scrollbars) or Embedded mode (a single vertical scrollbar is used throughout the grid control).

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(DetailMode.Default)]
[XtraSerializableProperty]
public virtual DetailMode DetailMode { get; set; }
vb
<DefaultValue(DetailMode.Default)>
<XtraSerializableProperty>
Public Overridable Property DetailMode As DetailMode

Property Value

TypeDefaultDescription
DevExpress.XtraGrid.Views.Grid.DetailModeDefault

A value that specifies the current detail mode. The DetailMode.Default value is equivalent to Classic.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to DetailMode
GridView

.OptionsDetail .DetailMode

|

Remarks

The animations below demonstrate the Classic and Embedded modes.

Classic

Embedded

The following features are not supported in Embedded detail mode.

See Also

ShowEmbeddedDetailIndent

GridOptionsDetail Class

GridOptionsDetail Members

DevExpress.XtraGrid.Views.Grid Namespace