Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IModelListView.MasterDetailMode Property

Specifies whether to display the Detail View of the currently selected object near the current List View.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

MasterDetailMode MasterDetailMode { get; set; }

#Property Value

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.

#Remarks

This property enables the split layout:

WinForms
SplitLayout
ASP.NET Web Forms
SplitLayoutWeb
ASP.NET Core Blazor
SplitLayoutBlazor

To specify this property, invoke the Model Editor and navigate to the Views | <ListView> node:

Model Designer: MasterDetailMode

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.

#Important Notes

See Also