dashboard-devexpress-dot-dashboardweb-dot-dashboardconfigurator-3acdd6dd.md
Gets the default DashboardConfigurator class instance.
Namespace : DevExpress.DashboardWeb
Assembly : DevExpress.Dashboard.v25.2.Web.dll
NuGet Package : DevExpress.Web.Dashboard.Common
public static DashboardConfigurator Default { get; }
Public Shared ReadOnly Property [Default] As DashboardConfigurator
| Type | Description |
|---|---|
| DashboardConfigurator |
The default DashboardConfigurator class instance.
|
The Default property provides access to a default instance of the DashboardConfigurator class and allows you to use shared server-side settings. To learn more, see Server-Side API Overview.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Default 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.
SqlDataSourceConfigurator.ConfigureDataSource(dataSourceStorage);
ExcelDataSourceConfigurator.ConfigureDataSource(DashboardConfigurator.Default, dataSourceStorage);
ObjectDataSourceConfigurator.ConfigureDataSource(DashboardConfigurator.Default, dataSourceStorage);
string uniqueId = "_" + dateTimeNow + ".pdf";
var exporter = new WebDashboardExporter(DashboardConfigurator.Default);
exporter.ExportToPdf(dashboardID, stream, new System.Drawing.Size(1024, 768), dashboardState, pdfOptions);
dashboard-constant-lines/CS/MvcDashboardSample/App_Start/DashboardConfig.cs#L32
ConstantLineModule clModule = new ConstantLineModule();
clModule.Attach(DashboardConfigurator.Default);
}
SqlDataSourceConfigurator.ConfigureDataSource(dataSourceStorage)
ExcelDataSourceConfigurator.ConfigureDataSource(DashboardConfigurator.Default, dataSourceStorage)
ObjectDataSourceConfigurator.ConfigureDataSource(DashboardConfigurator.Default, dataSourceStorage)
Dim uniqueId As String = "_" & dateTimeNow & ".pdf"
Dim exporter = New WebDashboardExporter(DashboardConfigurator.Default)
exporter.ExportToPdf(dbID, stream, New System.Drawing.Size(1024, 768), dbState, pdfOptions)
See Also