RecurrenceFormEventArgs Class

Provides data for the SchedulerControl.RecurrenceFormShowing event.

Namespace: DevExpress.Xpf.Scheduler

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

Declaration

public class RecurrenceFormEventArgs :
    EditFormShowingEventArgs
Public Class RecurrenceFormEventArgs
    Inherits 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.

Examples

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.

<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