Skip to main content
.NET 6.0+

XafApplication.CreateDashboardView(IObjectSpace, String, Boolean) Method

Creates a Dashboard View using information from the Application Model‘s Views | DashboardView node specified by the dashboardViewID parameter.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp


public DashboardView CreateDashboardView(
    IObjectSpace objectSpace,
    string dashboardViewId,
    bool isRoot


Name Type Description
objectSpace IObjectSpace

An IObjectSpace object representing the Object Space which is used to work with the database. This object is assigned to the View.ObjectSpace property.

dashboardViewId String

A string that represents an identifier of the Application Model node that serves as an information source for creating a new Dashboard View.

isRoot Boolean

true, if the created Dashboard View is independent and owns the Object Space passed using the objectSpace parameter; false, if the created Detail View is nested to another root View that owns the Object Space. This value is assigned to the View.IsRoot property.


Type Description

The created Dashboard View.


Use this method to create a Dashboard View and initialize its properties by the values passed as parameters.


Do not use another View’s Object Space for the creation of a new root View in it. Instead, create a new Object Space via the XafApplication.CreateObjectSpace method for the new root View.

See Also