SchedulerControl.EditOccurrenceWindowShowing Event
Occurs before showing the Open Recurring Item Window. This is a routed event.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.1.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
Event Data
The EditOccurrenceWindowShowing event's data class is DevExpress.Xpf.Scheduling.EditOccurrenceWindowShowingEventArgs.
Remarks
Handle the EditOccurrenceWindowShowing event to specify the window displayed when editing an occurrence, or hide it.
You can specify a window for display using the WindowShowingEventArgs<T>.Window property, or not display any window at all by setting the CancelRoutedEventArgs.Cancel property to true.
The code snippet below illustrates how to disable the dialog window and always apply changes to a single recurrence.
private void EditOccurrenceWindowShowing(object sender, EditOccurrenceWindowShowingEventArgs e) {
e.Cancel = true;
e.ViewModel.EditSeries = true;
}