Back to Devexpress

AppointmentMappings.Reminder Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentmappings.md

latest4.9 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

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

Property Value

TypeDescription
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:

xml
<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.

wpf-scheduler-use-scheduler-report-to-print-and-export-appointments/CS/PrintingExample/MainWindow.xaml#L53

xml
RecurrenceInfo="RecurrenceInfo"
Reminder="ReminderInfo"
ResourceId="DoctorId"

wpf-scheduler-implement-custom-mapping-converter-for-color-values/CS/ColorMappingExample/MainWindow.xaml#L45

xml
RecurrenceInfo="RecurrenceInfo"
Reminder="ReminderInfo"
Start="StartTime"

wpf-scheduler-obtain-selected-appointment-resource-and-time-interval/CS/DXSchedulerSelection/MainWindow.xaml#L68

xml
RecurrenceInfo="RecurrenceInfo"
Reminder="ReminderInfo"
ResourceId="ChannelId"

wpf-scheduler-apply-end-user-restrictions/CS/WpfApplication1/MainWindow.xaml#L33

xml
RecurrenceInfo="RecurrenceInfo"
Reminder="ReminderInfo"
Start="StartTime"

wpf-scheduler-add-datenavigator-and-resourcetree-controls/CS/DXSample/MainWindow.xaml#L35

xml
RecurrenceInfo="RecurrenceInfo"
Reminder="ReminderInfo"
ResourceId="ChannelId"

See Also

AppointmentMappings Class

AppointmentMappings Members

DevExpress.Xpf.Scheduling Namespace