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.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public DashboardView CreateDashboardView(
IObjectSpace objectSpace,
string dashboardViewId,
bool isRoot
)
#Parameters
Name | Type | Description |
---|---|---|
object |
IObject |
An IObject |
dashboard |
String | A string that represents an identifier of the Application Model node that serves as an information source for creating a new Dashboard View. |
is |
Boolean | true, if the created Dashboard View is independent and owns the Object Space passed using the object |
#Returns
Type | Description |
---|---|
Dashboard |
The created Dashboard View. |
#Remarks
Use this method to create a Dashboard View and initialize its properties by the values passed as parameters.
Note
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 Xaf