AppointmentMapping.ReminderInfo Property
Gets or sets the data field to which an appointment's Appointment.Reminder property is bound.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
String | A String value that specifies the name of the bound data field. |
#Remarks
Use the ReminderInfo property to bind an appointment's Appointment.Reminder property to a data field. The data field is taken from the datasource specified by the DataSource property of the AppointmentStorage.
Since the Appointment.Reminder property is of the Reminder type, binding it to a data field implies assigning appropriate values to the Reminder object's specific properties (such as the ReminderBase.AlertTime and ReminderBase.TimeBeforeStart). These values are automatically taken from the bound data field (which should be of the memo type) by parsing the field's value based upon its specific structure.
One appointment can have several associated reminders. The data field stores the information using special notation, as shown below:
The Reminder.ToXml and Reminder.FromXml methods can be used to correctly save and load the reminder information using the xml format.
#Examples
This example demonstrates how to specify standard mappings for appointment properties via the AppointmentStorage.Mappings property.