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 |
---|---|---|
object |
IObject |
An IObject |
application | Xaf |
An Xaf |
is |
Boolean | true to create a root Dashboard View; otherwise, false. This value is assigned to the View. |
#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.