Skip to main content

ASPxDashboard.DashboardType Property

Gets or sets a dashboard created at design time within Visual Studio. This property is in effect only when ASPxDashboard acts as Viewer.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v24.1.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