Occurs after the current dashboard opened in the DashboardDesigner is being closed.
The event handler receives an argument of the DashboardClosingEventHandler type.
The DashboardClosing event is raised in the following cases:
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.