Back to Devexpress

DashboardOpeningEventArgs.Handled Property

dashboard-devexpress-dot-dashboardwin-dot-dashboardopeningeventargs.md

latest2.9 KB
Original Source

DashboardOpeningEventArgs.Handled Property

Gets or sets whether the dashboard to be opened has been provided.

Namespace : DevExpress.DashboardWin

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

NuGet Package : DevExpress.Win.Dashboard

Declaration

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

Property Value

TypeDescription
Boolean

true , if the dashboard to be opened has been provided and no default actions are required; otherwise, false.

|

Remarks

After you have provided the dashboard, set the Handled property to true. Otherwise, the default actions will be performed (the Open File dialog will be invoked and the dashboard selected by the end-user will be opened).

To provide the dashboard that should be opened, assign it to the DashboardOpeningEventArgs.Dashboard property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Handled 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#L35

csharp
dashboardDesigner1.LoadDashboard(filePath);
    e.Handled = true;
}

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

vb
dashboardDesigner1.LoadDashboard(filePath)
    e.Handled = True
End Sub

See Also

Dashboard

DashboardOpeningEventArgs Class

DashboardOpeningEventArgs Members

DevExpress.DashboardWin Namespace