A newer version of this page is available. Switch to the current version.

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.2.Core.dll

Declaration

public class ReminderCollectionXmlPersistenceHelper :
    CollectionXmlPersistenceHelper
Public Class ReminderCollectionXmlPersistenceHelper
    Inherits CollectionXmlPersistenceHelper

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.

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.

Appointment apt = schedulerControl1.SelectedAppointments[0];
ReminderCollectionXmlPersistenceHelper myHelper = ReminderCollectionXmlPersistenceHelper.CreateSaveInstance(apt);
string reminderInfo = myHelper.ToXml();

Inheritance

Object
DevExpress.Utils.Serializing.XmlPersistenceHelper
DevExpress.Utils.Serializing.CollectionXmlPersistenceHelper
ReminderCollectionXmlPersistenceHelper
See Also