Skip to main content
All docs
.NET 6.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.1.dll

NuGet Package: DevExpress.ExpressApp


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


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