Skip to main content

RemindersWindowShowingEventArgs Class

Provides data for the SchedulerControl.RemindersWindowShowingEvent event.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public class RemindersWindowShowingEventArgs :
    WindowShowingEventArgs<RemindersWindowViewModel>

Remarks

The SchedulerControl.RemindersWindowShowingEvent event occurs before invoking the Reminders Window. The RemindersWindowShowingEventArgs class provides the RemindersWindowShowingEventArgs.TriggeredReminders property that contains reminders which are due.

The RemindersFormEventArgs object is automatically created, initialized and passed to SchedulerControl.RemindersWindowShowingEvent event handler.

Example

View 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
EventArgs
RoutedEventArgs
CancelRoutedEventArgs
WindowShowingEventArgs<DevExpress.Xpf.Scheduling.VisualData.RemindersWindowViewModel>
RemindersWindowShowingEventArgs
See Also