Back to Devexpress

IModelListView.MasterDetailMode Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodellistview-13d2bf28.md

latest3.5 KB
Original Source

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

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
MasterDetailMode MasterDetailMode { get; set; }
vb
Property MasterDetailMode As MasterDetailMode

Property Value

TypeDescription
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:

NameDescription
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 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.

Important Notes

See Also

List View Edit Modes

IModelListView Interface

IModelListView Members

DevExpress.ExpressApp.Model Namespace