DashboardSavingEventArgs Class
Provides data for the DashboardDesigner.DashboardSaving event.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v24.1.Win.dll
NuGet Package: DevExpress.Win.Dashboard
Declaration
Remarks
The DashboardDesigner.DashboardSaving event is raised when an end-user clicks the Save or Save As button. Handle this event to implement a custom saving procedure.
Use the DashboardSavingEventArgs.Dashboard property to obtain the dashboard that should be saved.
To determine whether the Save or Save As button has been pressed, use the DashboardSavingEventArgs.Command property.
After you have saved the dashboard, set the DashboardSavingEventArgs.Handled property to true. Otherwise, the dashboard will be saved using the default routine.
If your custom save procedure has not completed successfully, set the DashboardSavingEventArgs.Saved property to false to ensure that the DashboardDesigner handles this situation properly.