AppointmentMappings.Reminder Property

Gets or sets the mapping that binds the appointment's AppointmentItem.Reminder property to the data source field.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public Mapping Reminder { get; set; }
Public Property Reminder As Mapping

Property Value

Type Description
Mapping

A Mapping object that specifies the bound data field and converter.

Remarks

Use the Reminder property to bind the appointment's AppointmentItem.Reminder property to a data field. The data field is obtained from the data source specified by the DataSource.AppointmentsSourceProperty property.

Since the AppointmentItem.Reminder property is of the ReminderItem type, binding it to a data field implies assigning the values to the ReminderItem.AlertTime and ReminderItem.TimeBeforeStart properties. These values are obtained by parsing the data field content.

The data field contains reminder information as the string in XML-like format, as illustrated in the following sample:

<Reminders>
<Reminder AlertTime="10/13/2017 07:00:00" TimeBeforeStart="01:00:00" />
<Reminder AlertTime="10/13/2017 07:40:00" />
</Reminders>
TIP

To use a custom format for storing reminders, implement a value converter and register it by assigning to the Mapping.Converter property.

See Also