Skip to main content

DashboardSavingEventArgs Class

Provides data for the DashboardDesigner.DashboardSaving event.

Namespace: DevExpress.DashboardWin

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

Declaration

public class DashboardSavingEventArgs :
    EventArgs

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DashboardSavingEventArgs class.

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.

Inheritance

Object
EventArgs
DashboardSavingEventArgs
See Also