TriggeredReminder Class
An object that identifies a reminder which is due.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
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.
Example
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