Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

MasterDetailMode MasterDetailMode { get; set; }

Property Value

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.

Remarks

Only WinForms applications and ASP.NET applications with the ASPxGridListEditor support the MasterDetailMode.ListViewAndDetailView mode.

You can set a value for this attribute in code via the DefaultListViewOptionsAttribute attribute (see Data Annotations in Data Model).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MasterDetailMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also