Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Settings.AllowCodeDomLayoutDeserialization Property

Specifies whether to allow report CodeDOM deserialization.

Namespace: DevExpress.XtraReports.Configuration

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public bool AllowCodeDomLayoutDeserialization { get; set; }

#Property Value

Type Description
Boolean

true to allow report CodeDOM deserialization; otherwise, false

#Property Paths

You can access this nested property as listed below:

Object Type Path 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