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

SchedulerControl.EditRecurrentAppointmentFormShowing Event

Occurs before the Open Recurring Item dialog window is invoked.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll

Declaration

public event EditRecurrentAppointmentFormEventHandler EditRecurrentAppointmentFormShowing

Event Data

The EditRecurrentAppointmentFormShowing event's data class is EditRecurrentAppointmentFormEventArgs. The following properties provide information specific to this event:

Property Description
Appointment Gets the appointment for which the dialog will be shown. Inherited from AppointmentFormEventArgs.
CommandSourceType Indicates the mechanism of the command input, e.g. keyboard, mouse, menu. Inherited from AppointmentFormEventArgs.
DialogResult Gets or sets the return value of a dialog box. Inherited from ShowFormEventArgs.
Handled Gets or sets whether an event was handled, if it was handled the default actions are not required. Inherited from ShowFormEventArgs.
OpenRecurrenceForm Gets a value indicating whether the Appointment Recurrence form is displayed on the top of the Edit Appointment form. Inherited from AppointmentFormEventArgs.
Parent Gets or sets a parent of the form being shown. Inherited from ShowFormEventArgs.
QueryResult When a user tries to delete a recurring Appointment, the Scheduler raises the confirmation dialog that asks whether they want to delete this entire series, or the currently selected occurrence only. This property allows you to forcibly set this option. Inherited from RecurrentAppointmentActionFormEventArgs.
ReadOnly Gets a value indicating whether an appointment is read-only. Inherited from AppointmentFormEventArgs.

Remarks

The EditRecurrentAppointmentFormShowing event is raised only if the SchedulerOptionsBehaviorBase.RecurrentAppointmentEditAction is set to the RecurrentAppointmentAction.Ask value. Handle this event to perform any actions prior to the Open Recurring Item dialog being shown. You can substitute the default dialog with a custom one and set the ShowFormEventArgs.Handled property to true to prevent default event handling.

This dialog can be invoked either by an end-user, or via the SchedulerControl.ShowEditRecurrentAppointmentForm method. The QueryResult property enables you to specify whether the entire appointment series should be edited or only the selected appointment.

The Open Recurring Item dialog window is illustrated below:

RecurrenceEditDialog

See Also