Skip to main content
All docs
V25.1
  • .NET Framework 4.6.2+

    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.v25.1.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