Back to Devexpress

DxReportDesignerParameterEditingSettings Class

xtrareports-devexpress-dot-blazor-dot-reporting-cb1b21cb.md

latest4.3 KB
Original Source

DxReportDesignerParameterEditingSettings Class

Contains settings that configure user interface elements related to the editing of parameters, parameter groups, and parameter separators in the Web 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 DxReportDesignerParameterEditingSettings :
    SettingsComponent<ReportDesignerParameterEditingSettingsModel>
vb
Public Class DxReportDesignerParameterEditingSettings
    Inherits SettingsComponent(Of ReportDesignerParameterEditingSettingsModel)

Remarks

Use the following properties:

AllowEditParameterCollectionHides the UI elements that allow users to add and delete parameters.AllowEditParameterGroupsHides the UI elements that allow users to add and delete parameter groups.AllowEditParameterSeparatorsHides the UI elements that allow users to add and delete parameter separators.AllowEditPropertiesAllows you to disable all property editors for parameters and parameter groups.AllowReorderParametersHides UI elements that allow users to reorder parameters, parameter groups, and parameter separators.

The following code snippet makes parameters, parameter groups, and separators read-only for users (users cannot add or delete parameters/groups/separators, edit their properties, and reorder them):

razor
<DxReportDesigner ReportName="TestReport" Height="calc(100vh - 130px)" Width="100%" AllowMDI="true" DataSources="DataSources">
    <DxReportDesignerParameterEditingSettings 
        AllowEditParameterCollection="false"
        AllowEditParameterGroups="false"
        AllowEditParameterSeparators="false"
        AllowEditProperties="false"
        AllowReorderParameters="false" />
</DxReportDesigner>
razor
<DxWasmReportDesigner ReportName="Report" Height="100%">
    <DxWasmReportDesignerRequestOptions GetDesignerModelAction="DXXRD/GetReportDesignerModel" />
    <DxReportDesignerModelSettings AllowMDI="true">
        <DxReportDesignerParameterEditingSettings 
            AllowEditParameterCollection="false"
            AllowEditParameterGroups="false"
            AllowEditParameterSeparators="false"
            AllowEditProperties="false"
            AllowReorderParameters="false" />
    </DxReportDesignerModelSettings>
</DxWasmReportDesigner>

Inheritance

Object ComponentBase DevExpress.Blazor.Reporting.Base.SettingsComponent<DevExpress.Blazor.Reporting.ReportDesignerParameterEditingSettingsModel> DxReportDesignerParameterEditingSettings

See Also

DxReportDesignerParameterEditingSettings Members

Specify Parameter Editing Settings in Blazor Applications

CustomizeParameterProperties

DevExpress.Blazor.Reporting Namespace