Skip to main content
.NET Framework 4.6.2+

DashboardView(IObjectSpace, XafApplication, Boolean) Constructor

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

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

Parameters

Name Type Description
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 and creates a layout manager. Since the View.Model property is not initialized, the View.Caption and View.Id properties are not initialized as well. So, this constructor is used when the information from the Application Model does not need to be applied.

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