Back to Devexpress

Settings.AllowCodeDomLayoutDeserialization Property

xtrareports-devexpress-dot-xtrareports-dot-configuration-dot-settings.md

latest2.3 KB
Original Source

Settings.AllowCodeDomLayoutDeserialization Property

Specifies whether to allow report CodeDOM deserialization.

Namespace : DevExpress.XtraReports.Configuration

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public bool AllowCodeDomLayoutDeserialization { get; set; }
vb
Public Property AllowCodeDomLayoutDeserialization As Boolean

Property Value

TypeDescription
Boolean

true to allow report CodeDOM deserialization; otherwise, false

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowCodeDomLayoutDeserialization
Settings

.Default .AllowCodeDomLayoutDeserialization

|

Remarks

You can use the following methods to load reports:

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

Settings Class

Settings Members

DevExpress.XtraReports.Configuration Namespace