The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxDashboard.DashboardType Property

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

Namespace: DevExpress.DashboardWeb

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

Declaration

[DefaultValue(null)]
public Type DashboardType { get; set; }
<DefaultValue(Nothing)>
Public Property DashboardType As Type

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.

Examples

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