Skip to main content
All docs
V24.2

DesignAnalyzerOptions.SuppressedErrorCodes Property

Contains a collection of error codes used to disable messages associated with them.

Namespace: DevExpress.XtraReports.Configuration

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public IEnumerable<string> SuppressedErrorCodes { get; set; }

Property Value

Type Description
IEnumerable<String>

A collection of error codes.

Property Paths

You can access this nested property as listed below:

Object Type Path to SuppressedErrorCodes
ReportingSettings
.DesignAnalyzerOptions .SuppressedErrorCodes
Settings
.DesignAnalyzerOptions .SuppressedErrorCodes

Remarks

The Report Design Analyzer shows errors, warnings, and information messages that help you and your end users to detect and fix issues in a report.

The Report Design Analyzer (WinForms)

Each message is associated with a unique error code (shown in the Code column). You can suppress particular error codes to hide messages associated with them from the Report Design Analyzer. For this, add the error codes to the SuppressedErrorCodes collection.

The following code sample shows how to hide messages associated with the XRE004 error code.

using System.Collections.Generic;
using DevExpress.XtraReports.Configuration;
//...

var suppressedErrorCodes = new List<string> { "XRE004" };
Settings.Default.DesignAnalyzerOptions.SuppressedErrorCodes = suppressedErrorCodes;
See Also