Back to Devexpress

DxReportDesignerDataSourceSettings Class

xtrareports-devexpress-dot-blazor-dot-reporting-7a10ef3b.md

latest2.9 KB
Original Source

DxReportDesignerDataSourceSettings Class

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

Declaration

csharp
public class DxReportDesignerDataSourceSettings :
    SettingsComponent<ReportDesignerDataSourceSettingsModel>
vb
Public Class DxReportDesignerDataSourceSettings
    Inherits SettingsComponent(Of ReportDesignerDataSourceSettingsModel)

Remarks

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:

razor
<DxReportDesigner ReportName="TestReport" Height="calc(100vh - 130px)" Width="100%" AllowMDI="true">>
    <DxReportDesignerDataSourceSettings AllowAddDataSource="false" 
                                        AllowEditDataSource="false" 
                                        AllowRemoveDataSource="false" />
</DxReportDesigner>
razor
<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:

Inheritance

Object ComponentBase DevExpress.Blazor.Reporting.Base.SettingsComponent<DevExpress.Blazor.Reporting.ReportDesignerDataSourceSettingsModel> DxReportDesignerDataSourceSettings

See Also

DxReportDesignerDataSourceSettings Members

DevExpress.Blazor.Reporting Namespace