Skip to main content

SchedulerCompatibility.Base64XmlObjectSerialization Property

Turns the serialization mechanism formerly used for persistent objects (Appointment, Resource and AppointmentDependency objects) on or off.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.Core.dll

Declaration

public static bool Base64XmlObjectSerialization { get; set; }

Property Value

Type Description
Boolean

True, to use Base64 encoding to serialize objects to the XML format; otherwise, false.

Remarks

Starting from v15.2, the identifier property values in the Appointment, Resource and AppointmentDependency classes are of the Object type. To properly serialize them to the XML format, Base64 encoding is used by default.

To switch back to the former serialization mechanism, set the static property Base64XmlObjectSerialization to false, as illustrated in the following code. Include this code into initialization section of your application.

DevExpress.XtraScheduler.SchedulerCompatibility.Base64XmlObjectSerialization = false;

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Base64XmlObjectSerialization property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also