Skip to main content
A newer version of this page is available. .

RecurrenceFormEventArgs Class

Provides data for the SchedulerControl.RecurrenceFormShowing event.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduler, DevExpress.Wpf.Scheduler

Declaration

public class RecurrenceFormEventArgs :
    EditFormShowingEventArgs

Remarks

Important

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.

Note

RecurrenceFormEventArgs objects are automatically created, initialized and passed to SchedulerControl.RecurrenceFormShowing event handlers.

Example

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.

View Example

<dxsch:SchedulerControl Name="schedulerControl1" 
                        HorizontalAlignment="Stretch" VerticalAlignment="Stretch" 
                        ActiveViewType="Week"
                        GroupType="Resource"
                        RecurrenceFormShowing="schedulerControl1_RecurrenceFormShowing">

Inheritance

Object
EventArgs
FormShowingEventArgs
DevExpress.Xpf.Scheduler.EditFormShowingEventArgs
RecurrenceFormEventArgs
See Also