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
NuGet Package: DevExpress.ExpressApp
Declaration
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:
You can also use the DefaultListViewOptions attribute to allow in-place editing in code (see Data Annotations in Data Model).