Back to Devexpress

DashboardConfigurator.DashboardStorage Property

dashboard-devexpress-dot-dashboardweb-dot-dashboardconfigurator-f93403b4.md

latest2.9 KB
Original Source

DashboardConfigurator.DashboardStorage Property

Gets a storage of dashboards for the Web Dashboard.

Namespace : DevExpress.DashboardWeb

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

NuGet Package : DevExpress.Web.Dashboard.Common

Declaration

csharp
public IDashboardStorage DashboardStorage { get; }
vb
Public ReadOnly Property DashboardStorage As IDashboardStorage

Property Value

TypeDescription
IDashboardStorage

An object implementing the IDashboardStorage interface that is the storage of dashboards.

|

Remarks

Tip

For information on how to use the DashboardConfigurator‘s API, see the following topic: Server-Side API Overview.

To specify dashboard storage, use the DashboardConfigurator.SetDashboardStorage method overloads.

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

asp-net-core-dashboard-export-all-items/CS/AspNetCoreDashboard_ExportAllItems/Controllers/ExportController.cs#L19

csharp
public FileContentResult ExportAllItems([FromServices] DashboardConfigurator dashboardConfigurator, string dashboardId, string state) {
    CustomDashboardStorage storage = dashboardConfigurator.DashboardStorage as CustomDashboardStorage;
    Dashboard dashboard = new Dashboard();

See Also

DashboardConfigurator Class

DashboardConfigurator Members

DevExpress.DashboardWeb Namespace