Skip to main content

SchedulerControl.ShowRecurrenceForm(UserControl, Boolean) Method

Invokes the Appointment Recurrence dialog for the specified recurring appointment.

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public virtual void ShowRecurrenceForm(
    UserControl parentForm,
    bool readOnly
)

#Parameters

Name Type Description
parentForm UserControl

A UserControl object that specifies an Edit Appointment form from which the Appointment Recurrence dialog is invoked.

readOnly Boolean

true to open this form to display properties of a read-only recurring appointment (in this case all form editors are disabled); otherwise, false.

#Remarks

The Appointment Recurrence dialog allows end-users to change the appointment recurrence characteristics. The common appearance of the standard Appointment Recurrence form is shown below.

DXScheduler_NewRecurringAppointment_Dialog

Use the SchedulerControl.RecurrenceFormShowing event to handle the display of this form, for example, to invoke your own custom form instead of the standard one.

#Examples

The following code snippet illustrates how to use the SchedulerControl.ShowRecurrenceForm method to invoke the Appointment Recurrence dialog when clicking the Recurrence button on the custom Edit Appointment form. To specify the Recurrence button visibility, use the AppointmentFormController.ShouldShowRecurrence property.

See Also