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

RemindersWindowShowingEventArgs Class

Provides data for the SchedulerControl.RemindersWindowShowingEvent event.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public class RemindersWindowShowingEventArgs :
    WindowShowingEventArgs<RemindersWindowViewModel>
Public Class RemindersWindowShowingEventArgs
    Inherits WindowShowingEventArgs(Of 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.

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