Skip to main content
All docs
V25.1
  • 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

    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