Back to Devexpress

DashboardCreatingEventArgs Class

dashboard-devexpress-dot-dashboardwin-0f1e2016.md

latest2.4 KB
Original Source

DashboardCreatingEventArgs Class

Provides data for the DashboardDesigner.DashboardCreating event.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public class DashboardCreatingEventArgs :
    EventArgs
vb
Public Class DashboardCreatingEventArgs
    Inherits EventArgs

DashboardCreatingEventArgs is the data class for the following events:

Remarks

The DashboardDesigner.DashboardCreating event is raised when an end-user clicks the New button. Handle this event to manually initialize a new dashboard and skip the Data Source wizard.

Before the event is raised, a new Dashboard instance is created via the default Dashboard constructor. This instance is passed in the event parameter’s DashboardCreatingEventArgs.Dashboard property. Use this property to access the dashboard and customize it.

To suppress the default dashboard creation routine, set the DashboardCreatingEventArgs.Handled property to true. Otherwise, the Data Source wizard will be invoked.

Inheritance

Object EventArgs DashboardCreatingEventArgs

See Also

DashboardCreatingEventArgs Members

DevExpress.DashboardWin Namespace