RemindersWindowShowingEventArgs.TriggeredReminders Property
Provides access to a collection of reminders which are due.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
Property Value
Type | Description |
---|---|
ObservableCollection<TriggeredReminder> | A collection of TriggeredReminder reminders which are due. |
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;
}
}
See Also