DashboardDesigner.DashboardClosing Event

Occurs after the current dashboard opened in the DashboardDesigner is being closed.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v18.1.Win.dll

Syntax

public event DashboardClosingEventHandler DashboardClosing

The event handler receives an argument of the DashboardClosingEventHandler type.

The DashboardClosing event is raised in the following cases:

  • the form containing the DashboardDesigner control is closed;
  • a new dashboard is created;
  • a new dashboard is opened.

The DashboardClosingEventArgs.IsDashboardModified property allows you to specify the modification state of the dashboard based on your requirements. Use the DashboardClosingEventArgs.Dashboard property to access the dashboard which is being closed.