.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

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

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 and ASP.NET Web Forms applications with the ASPxGridListEditor support the 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