Skip to main content
.NET Framework 4.5.2+

IModelClass.DefaultListViewMasterDetailMode Property

Specifies whether to display the default Detail View near the current List View. This option affects List Views whose ModelClass property is set to the corresponding IModelClass instance and does not affect lookup List Views.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue(MasterDetailMode.ListViewOnly)]
MasterDetailMode DefaultListViewMasterDetailMode { get; set; }

Property Value

Type Default Description
MasterDetailMode ListViewOnly

A MasterDetailMode enumeration value that specifies whether to display the default Detail View near the current List View.

Remarks

Only WinForms applications, ASP.NET Web Forms applications with the ASPxGridListEditor, and ASP.NET Core Blazor applications with the DxGridListEditor support MasterDetailMode.ListViewAndDetailView mode.

To set this property, open the Model Editor and navigate to the Application | BOModel | <Class> node:

The DefaultListViewMasterDetailMode property in the Model Editor

You can also use the DefaultListViewOptions attribute to allow in-place editing in code (see Data Annotations in Data Model).

See Also