A newer version of this page is available. Switch to the current version.

RemindersWindowShowingEventArgs.TriggeredReminders Property

Provides access to a collection of reminders which are due.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public ObservableCollection<TriggeredReminder> TriggeredReminders { get; }
Public ReadOnly Property TriggeredReminders As ObservableCollection(Of TriggeredReminder)

Property Value

Type Description
ObservableCollection<TriggeredReminder>

A collection of TriggeredReminder reminders which are due.

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;
    }
}
See Also