Settings.AllowCodeDomLayoutDeserialization Property
Specifies whether to allow report CodeDOM deserialization.
Namespace: DevExpress.XtraReports.Configuration
Assembly: DevExpress.XtraReports.v25.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Property Paths
You can access this nested property as listed below:
| Object Type | Path to AllowCodeDomLayoutDeserialization |
|---|---|
| Settings |
|
Remarks
You can use the following methods to load reports:
- XtraReport.LoadLayout method overloads.
- XtraReport.FromFile
- XtraReport.FromStream
These methods throw CodeDomLayoutDeserializationRestrictedException if you attempt to load a report stored using CodeDOM serialization and AllowCodeDomLayoutDeserialization is false. To deactivate these exceptions, set the option to true at application startup.
See Also