Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public Mapping Reminder { get; set; }

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Reminder 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