IModelListView.DetailView Property
Specifies the List View’s Detail View.
Namespace: DevExpress.ExpressApp.Model
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
[DataSourceCriteria("(AsObjectView Is Not Null) And (AsObjectView.ModelClass Is Not Null) And ('@This.ModelClass' Is Not Null) And (IsAssignableFromViewModelClass('@This.ModelClass.TypeInfo', AsObjectView))")]
[DataSourceProperty("Application.Views", new string[]{})]
IModelDetailView DetailView { get; set; }
Property Value
| Type | Description |
|---|---|
| IModelDetailView | An IModelDetailView representing the DetailView node. This node corresponds to the current List View’s Detail View. |
Remarks
The Detail View specified by this property is:
- Invoked after clicking (in ASP.NET Core Blazor) or double-clicking (in WinForms) on a List View row.
Note
This is true only if the type of the displayed object equals the current List View’s object type. If a descendant is shown, XAF uses its Detail View and ignores the
DetailViewproperty. - Displayed together with the current List View when the IModelListView.MasterDetailMode is set to
ListViewAndDetailViewand IModelListView.MasterDetailView is unspecified.
If the DetailView property is not set, XAF uses the default Detail View specified by the IModelClass.DefaultDetailView property.
See Also