DashboardView(IObjectSpace, XafApplication, Boolean) Constructor

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

public DashboardView(
    IObjectSpace objectSpace,
    XafApplication application,
    bool isRoot
)
Public Sub New(
    objectSpace As IObjectSpace,
    application As XafApplication,
    isRoot As Boolean
)

Parameters

Type Name Description
IObjectSpace objectSpace

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

XafApplication application

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

Boolean isRoot

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

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