IModelClass.DefaultListViewMasterDetailMode Property
Specifies whether to display the default Detail View near the current List View.
Namespace: DevExpress.ExpressApp.Model
Assembly: DevExpress.ExpressApp.v18.2.dll
Declaration
[DefaultValue(MasterDetailMode.ListViewOnly)]
MasterDetailMode DefaultListViewMasterDetailMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
MasterDetailMode | **ListViewOnly** | A MasterDetailMode enumeration value specifying whether to display the default Detail View 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 this property value in code via the DefaultListViewOptionsAttribute attribute (see Data Annotations in Data Model).
See Also