Skip to main content

ReminderItem Class

A reminder for a non-recurring appointment.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public class ReminderItem :
    NotifyPropertyChangedBase

The following members return ReminderItem objects:

Remarks

A reminder sends alerts at a specified time. It is associated with an appointment so that an appointment has a collection of reminders accessible using the AppointmentItem.Reminders property.

To create a reminder, use the AppointmentItem.CreateNewReminder method. Subsequently you should add it to the particular appointment’s AppointmentItem.Reminders collection.

The built-in reminder controller checks the alert times for all reminders at a regular interval the SchedulerControl.RemindersCheckInterval property specifies. When it is time for the reminder (determined by the ReminderItem.AlertTime property), the controller adds it to the SchedulerControl.TriggeredReminders collection, fires the SchedulerControl.RemindersWindowShowing event and invokes the Reminders Window.

Example

View Example

// Remove previous reminders
appointment.Reminders.Clear();
// Set multiple reminders for an appointment
ReminderItem reminder1 = appointment.CreateNewReminder();
ReminderItem reminder2 = appointment.CreateNewReminder();
reminder1.AlertTime = DateTime.Now.AddMinutes(15);
reminder2.TimeBeforeStart = new TimeSpan(0, 30, 0);

appointment.Reminders.Add(reminder1);
appointment.Reminders.Add(reminder2);

Inheritance

Object
DevExpress.Xpf.Scheduling.Internal.NotifyPropertyChangedBase
ReminderItem
See Also