Skip to main content
.NET 6.0+

DashboardsModule.HideDirectDataSourceConnections Property

Specifies if the Data Source Wizard allows setting direct Database connections.

Namespace: DevExpress.ExpressApp.Dashboards

Assembly: DevExpress.ExpressApp.Dashboards.v24.1.dll

Declaration

[DefaultValue(false)]
public bool HideDirectDataSourceConnections { get; set; }

Property Value

Type Default Description
Boolean false

false, if the Data Source Wizard allows setting direct Database connections; otherwise, true.

Remarks

In a WinForms application, if the HideDirectDataSourceConnections property is set to true, only the following Data Source Types are available in the Data Source Wizard:

  • Microsoft Excel workbook / CSV file
  • Data Extract
  • XAF Object DataSource

In the ASP.NET Core Blazor application, if the HideDirectDataSourceConnections property is set to true, the “Create data source…” link is hidden from the Add Data Source dialog.

"Create data source" link in the Blazor Dashboard Designer

In the ASP.NET Web Forms application, if the HideDirectDataSourceConnections property is set to true, the “Create data source…” link is hidden from the Add Data Source dialog.

"Create data source" link in the Web Forms Dashboard Designer

See Also