Skip to main content

RecurrenceFormEventArgs.ParentForm Property

Gets the appointment editing form from which the Appointment Recurrence form is invoked.

Namespace: DevExpress.Xpf.Scheduler

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


public UserControl ParentForm { get; }

Property Value

Type Description

A UserControl object specifying the Edit Appointment form.



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.

Use the ParentForm property to access the instance of the class specifying the appointment editing form. This object’s controller should be passed as a parameter to the constructor of the class specifying the custom Appointment Recurrence form, or set to the RecurrenceFormEventArgs.Controller property to use the default recurrence form.


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" 
See Also