expressappframework-devexpress-dot-expressapp-dot-listview.md
Specifies whether to display the Detail View of the currently selected object near the current List View.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[Browsable(false)]
public MasterDetailMode MasterDetailMode { get; set; }
<Browsable(False)>
Public Property MasterDetailMode As MasterDetailMode
| Type | Description |
|---|---|
| MasterDetailMode |
A MasterDetailMode enumeration value specifying 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.
|
The MasterDetailMode property enables the split layout:
WinForms ASP.NET Core Blazor
You can also specify this property in the DefaultListViewOptionsAttribute attribute (see Data Annotations in Data Model).
The value of this property is assigned to the Application Model‘s Application | Views | List View node’s IModelListView.MasterDetailMode property. You can change this property’s value using the Model Editor.
The default value of this property is the value that is assigned to the MasterDetailMode property of the Application Model’s List View node.
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