Provides data for the SchedulerControl.RecurrenceFormShowing event.
public class RecurrenceFormEventArgs : EditFormShowingEventArgs
Public Class RecurrenceFormEventArgs Inherits EditFormShowingEventArgs
You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
The SchedulerControl.RecurrenceFormShowing event occurs before the Appointment Recurrence form is invoked. The RecurrenceFormEventArgs class introduces the RecurrenceFormEventArgs.ParentForm property that provides access to the appointment editing form from which the recurrence dialog is invoked. The RecurrenceFormEventArgs.Controller property specifies the controller providing settings required to edit appointment recurrence in the Appointment Recurrence form.
RecurrenceFormEventArgs objects are automatically created, initialized and passed to SchedulerControl.RecurrenceFormShowing event handlers.
This example demonstrates how to replace the standard Appointment Recurrence form with a custom one via the SchedulerControl.RecurrenceFormShowing event.
Set the FormShowingEventArgs.Form property to the instance of a class specifying the custom recurrence form with the passed AppointmentFormController controller of the Edit Appointment form (RecurrenceFormEventArgs.ParentForm) from which the Appointment Recurrence form is invoked.
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-create-a-custom-appointment-recurrence-form-e3797.
<dxsch:SchedulerControl Name="schedulerControl1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ActiveViewType="Week" GroupType="Resource" RecurrenceFormShowing="schedulerControl1_RecurrenceFormShowing">