Settings.AllowCodeDomLayoutDeserialization Property
In This Article
Specifies whether to allow report CodeDOM deserialization.
Namespace: DevExpress.XtraReports.Configuration
Assembly: DevExpress.XtraReports.v24.2.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 Allow |
---|---|
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