Skip to main content
All docs
V24.2
.NET 8.0+

DetailView(IObjectSpace, Func<CancellationToken, Task<Object>>, XafApplication, Boolean, IEnumerable) Constructor

Initializes a new instance of the DetailView class with specified settings.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public DetailView(
    IObjectSpace objectSpace,
    Func<CancellationToken, Task<object>> loader,
    XafApplication application,
    bool isRoot,
    IEnumerable objectsToPrefetch
)

Parameters

Name Type Description
objectSpace IObjectSpace

An IObjectSpace object representing the Object Space that enables the created Detail View to work with a database.

loader Func<CancellationToken, Task<Object>>
application XafApplication

An XafApplication object that provides methods and properties to manage the current application.

isRoot Boolean

true to create a root Detail View; otherwise, false. This value is assigned to the View.IsRoot property.

objectsToPrefetch IEnumerable
See Also