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

#Declaration

public UserControl ParentForm { get; }

#Property Value

Type Description
UserControl

A UserControl object specifying the Edit Appointment form.

#Remarks

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.

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

See Also