expressappframework-devexpress-dot-expressapp-dot-model-dot-imodellistview-13d2bf28.md
Specifies whether to display the Detail View of the currently selected object near the current List View.
Namespace : DevExpress.ExpressApp.Model
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
MasterDetailMode MasterDetailMode { get; set; }
Property MasterDetailMode As MasterDetailMode
| Type | Description |
|---|---|
| MasterDetailMode |
A MasterDetailMode enumeration value that specifies whether to display the Detail View of the currently selected object near the current List View.
|
Available values:
| Name | Description |
|---|---|
| ListViewOnly |
A List View is displayed without a Detail View alongside.
| | ListViewAndDetailView |
A List View is displayed alongside a Detail View.
|
This property enables the split layout:
WinForms ASP.NET Core Blazor
To specify this property, invoke the Model Editor and navigate to the Views | <ListView> node:
You can also specify this property in code. Use the DefaultListViewOptions attribute to do this. Refer to the following topic for more information: Data Annotations in Data Model.
Only WinForms applications and and ASP.NET Core Blazor applications with the DxGridListEditor support MasterDetailMode.ListViewAndDetailView mode.
ASP.NET Core Blazor List Views with a split layout display Dashboards in read-only mode.
DxGridListEditor in ListViewAndDetailView mode ignores the AllowEdit and NewItemRowPosition options.
See Also