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
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 |
|
Settings |
|
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.
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;