Skip to main content
All docs
V24.1

DxReportViewer.EditingFieldsHighlighted Property

Specifies whether the editable fields are highlighted in the document.

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v24.1.Viewer.dll

NuGet Package: DevExpress.Blazor.Reporting.Viewer

Declaration

public bool EditingFieldsHighlighted { get; set; }

Property Value

Type Description
Boolean

True to highlight the editable fields; otherwise, false.

Remarks

Enable this option to highlight all editable fields available in the document. For more information on editable fields, review the following help topic: Edit Content in Print Preview.

The screenshot below shows a highlighted edit field and a toolbar button that can be used to turn highlights on or off.

Blazor Highlight Editing Fields

The following code snippet highlights all editable fields in the document that the Report Viewer displays:

<DxReportViewer @ref="reportViewer"></DxReportViewer>

@code {
    DxReportViewer reportViewer;

    protected override void OnAfterRender(bool firstRender)
    {
        base.OnAfterRender(firstRender);
        reportViewer.EditingFieldsHighlighted = true;
    }
}
See Also