Back to Devexpress

DashboardSavingEventArgs.Saved Property

dashboard-devexpress-dot-dashboardwin-dot-dashboardsavingeventargs-8e9557ce.md

latest2.8 KB
Original Source

DashboardSavingEventArgs.Saved Property

Gets or sets whether the custom save routine has succeeded.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public bool Saved { get; set; }
vb
Public Property Saved As Boolean

Property Value

TypeDescription
Boolean

true , if the custom save routine has succeeded; false if it has failed.

|

Remarks

If your custom save actions did not succeed, set the 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 Saved property.

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.

winforms-dashboard-custom-save-and-open-procedures/CS/Dashboard_LoadingAndSaving/Form1.cs#L24

csharp
e.Handled = true;
    e.Saved = true;
}

winforms-dashboard-custom-save-and-open-procedures/VB/Dashboard_LoadingAndSaving/Form1.vb#L25

vb
e.Handled = True
    e.Saved = True
End If

See Also

Handled

Dashboard

Command

DashboardSavingEventArgs Class

DashboardSavingEventArgs Members

DevExpress.DashboardWin Namespace