.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

DashboardView(IModelDashboardView, IObjectSpace, XafApplication, Boolean) Constructor

Creates an instance of the DashboardView class with the specified settings.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.1.dll

Declaration

public DashboardView(
    IModelDashboardView model,
    IObjectSpace objectSpace,
    XafApplication application,
    bool isRoot
)

Parameters

Name Type Description
model IModelDashboardView

An IModelDashboardView object representing an Application Model node with information on the created Dashboard View. This value is assigned to the View.Model property.

objectSpace IObjectSpace

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

application XafApplication

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

isRoot Boolean

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

Remarks

The constructor is used to create and initialize a new DashboardView object. It initializes its properties both by values passed as parameters and by property values from the corresponding Application Model‘s IModelDashboardView node.

This method is not designed to be used directly from your code. Dashboard Views are created automatically. If you need to create a custom Dashboard View, use the XafApplication.CreateDashboardView method.

See Also