ReminderCollectionXmlPersistenceHelper Class
Provides methods to load reminders from XML and export them in the same way as they are stored in the bound data source.
Namespace: DevExpress.XtraScheduler.Xml
Assembly: DevExpress.XtraScheduler.v18.1.Core.dll
Declaration
Related API Members
The following members accept/return ReminderCollectionXmlPersistenceHelper objects:
Remarks
This code snippet illustrates how to load Appointment.Reminders from an XML string. To save reminders to XML, use the ReminderCollectionXmlPersistenceHelper.CreateSaveInstance method.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-save-and-retrieve-reminders-as-xml-strings-t151260
Appointment apt = schedulerControl1.SelectedAppointments[0];
apt.Reminders.AddRange(ReminderCollectionXmlPersistenceHelper.ObjectFromXml(apt, reminderEdit.Text));
This code snippet illustrates how to save Appointment.Reminders to an XML string. To load reminders from XML data, use the ReminderCollectionXmlPersistenceHelper.ObjectFromXml method.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-save-and-retrieve-reminders-as-xml-strings-t151260
Appointment apt = schedulerControl1.SelectedAppointments[0];
ReminderCollectionXmlPersistenceHelper myHelper = ReminderCollectionXmlPersistenceHelper.CreateSaveInstance(apt);
string reminderInfo = myHelper.ToXml();
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ReminderCollectionXmlPersistenceHelper class.
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.