Skip to main content
A newer version of this page is available. .

ASPxDashboard.DashboardType Property

Gets or sets the type of a dashboard to be displayed in the ASPxDashboard.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v20.2.Web.WebForms.dll

NuGet Package: DevExpress.Web.Dashboard

Declaration

[DefaultValue(null)]
public Type DashboardType { get; set; }

Property Value

Type Default Description
Type *null*

A Type object that is the type of a dashboard to be displayed in the ASPxDashboard.

Remarks

The DashboardType property allows you to open the dashboard created at design time within Visual Studio. Note that this property is in effect only when the Web Dashboard acts as the Viewer (ASPxDashboard.WorkingMode is set to WorkingMode.ViewerOnly).

To learn more about different methods of loading a dashboard, see Loading a Dashboard.

Example

The code snippet below shows how to display the dashboard created at design time within Visual Studio in the ASPxDashboard control using the ASPxDashboard.DashboardType property.

ASPxDashboard1.DashboardType = typeof(Dashboard1);
See Also