Skip to main content

DashboardDesigner.DashboardClosing Event

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

Namespace: DevExpress.DashboardWin

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

NuGet Package: DevExpress.Win.Dashboard

Declaration

public event DashboardClosingEventHandler DashboardClosing

Event Data

The DashboardClosing event's data class is DashboardClosingEventArgs. The following properties provide information specific to this event:

Property Description
Dashboard Gets the dashboard which is being closed.
IsDashboardModified Gets or sets whether the dashboard has been modified since the last save.

Remarks

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardClosing event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also