Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public event EditOccurrenceWindowShowingEventHandler EditOccurrenceWindowShowing

#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.

WPFScheduler_EditOccurrenceWindow

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