All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v20.2.dll

Declaration

public DetailView(
    IObjectSpace objectSpace,
    Func<CancellationToken, Task<object>> loader,
    XafApplication application,
    bool isRoot,
    IEnumerable objectsToPrefetch
)
Public Sub New(
    objectSpace As IObjectSpace,
    loader As Func(Of CancellationToken, Task(Of Object)),
    application As XafApplication,
    isRoot As Boolean,
    objectsToPrefetch As IEnumerable
)

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