Skip to main content
All docs
V25.1
  • 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.1.JSBasedControls.Common.dll

    NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls.Common

    Declaration

    public class DxReportDesignerDataSourceSettings :
        SettingsComponent<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:

    <DxReportDesigner ReportName="TestReport" Height="calc(100vh - 130px)" Width="100%" AllowMDI="true">>
        <DxReportDesignerDataSourceSettings AllowAddDataSource="false" 
            AllowEditDataSource="false" 
            AllowRemoveDataSource="false" />
    </DxReportDesigner>
    

    The Field List with hidden actions is shown in the following image:

    web-designer-field-list-data-source-settings-disabled

    Inheritance

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