TriggeredReminder Class

An object that identifies a reminder which is due.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public class TriggeredReminder :
    NotifyPropertyChangedBase
Public Class TriggeredReminder
    Inherits NotifyPropertyChangedBase

Remarks

When the ReminderItem.AlertTime arrives for a particular reminder, the reminder controller creates the TriggeredReminder object and adds it to the SchedulerControl.TriggeredReminders collection. Subsequently the SchedulerControl.RemindersWindowShowingEvent event occurs and the default RemindersWindow is shown. The TriggeredReminder objects are passed to the RemindersWindowShowingEventArgs.TriggeredReminders property and to the view model of the Reminders window.

Examples

private void Scheduler_RemindersWindowShowing(object sender, DevExpress.Xpf.Scheduling.RemindersWindowShowingEventArgs e) {
    if (e.TriggeredReminders.Any(r => r.Appointment.Subject.Contains("test"))) {
        DevExpress.Xpf.Scheduling.Visual.RemindersWindow reminderWindow = new DevExpress.Xpf.Scheduling.Visual.RemindersWindow();
        reminderWindow.DataContext = new DevExpress.Xpf.Scheduling.VisualData.RemindersWindowViewModel(scheduler);
        e.Window = reminderWindow;
    }
}

Inheritance

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