xtrareports-devexpress-dot-blazor-dot-reporting-7a10ef3b.md
Contains settings that configure the user interface related to the data sources in the Report Designer.
Namespace : DevExpress.Blazor.Reporting
Assembly : DevExpress.Blazor.Reporting.v25.2.JSBasedControls.Common.dll
NuGet Package : DevExpress.Blazor.Reporting.JSBasedControls.Common
public class DxReportDesignerDataSourceSettings :
SettingsComponent<ReportDesignerDataSourceSettingsModel>
Public Class DxReportDesignerDataSourceSettings
Inherits SettingsComponent(Of ReportDesignerDataSourceSettingsModel)
The following code hides the Add Data Source button and UI elements that allow the user to change and delete the data source and queries in the Field List:
<DxReportDesigner ReportName="TestReport" Height="calc(100vh - 130px)" Width="100%" AllowMDI="true">>
<DxReportDesignerDataSourceSettings AllowAddDataSource="false"
AllowEditDataSource="false"
AllowRemoveDataSource="false" />
</DxReportDesigner>
<DxWasmReportDesigner ReportName="Report" Height="100%">
<DxWasmReportDesignerRequestOptions GetDesignerModelAction="DXXRD/GetReportDesignerModel"/>
<DxReportDesignerModelSettings AllowMDI="true">
<DxReportDesignerDataSourceSettings AllowAddDataSource="false"
AllowEditDataSource="false"
AllowRemoveDataSource="false" />
</DxReportDesignerModelSettings>
</DxWasmReportDesigner>
The Field List with hidden actions is shown in the following image:
Object ComponentBase DevExpress.Blazor.Reporting.Base.SettingsComponent<DevExpress.Blazor.Reporting.ReportDesignerDataSourceSettingsModel> DxReportDesignerDataSourceSettings
See Also