A newer version of this page is available. Switch to the current version.

IModelListView.MasterDetailView Property

Specifies the Detail View that is displayed in MasterDetailMode.ListViewAndDetailView mode.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.2.dll


[DataSourceCriteria("(AsObjectView Is Not Null) And (AsObjectView.ModelClass Is Not Null) And ('@This.ModelClass' Is Not Null) And (IsAssignableFromViewModelClass('@This.ModelClass.TypeInfo', AsObjectView))")]
IModelDetailView MasterDetailView { get; set; }

Property Value

Type Description

An IModelDetailView object, which is the DetailView node defining a Detail View to be displayed in the ListViewAndDetailView mode.


If this property is unspecified, then the IModelListView.DetailView value is used to determine the Detail View to be displayed. If both the MasterDetailView and DetailView properties are unspecified, then the Detail View is determined based on the type of the object created or edited via the List View (the IModelClass.DefaultDetailView value specified for a particular object type is used).

You can create a custom Detail View for a particular selected object or a particular List View by handling the ListView.CreateCustomCurrentObjectDetailView event.

See Also