SchedulerControl.EditRecurrentAppointmentFormShowing Event
Occurs before the Open Recurring Item dialog window is invoked.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.dll
NuGet Package: DevExpress.Win.Scheduler
#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 Appointment |
Command |
Indicates the mechanism of the command input, e. |
Dialog |
Gets or sets the return value of a dialog box.
Inherited from Show |
Handled |
Gets or sets whether an event was handled, if it was handled the default actions are not required.
Inherited from Show |
Open |
Gets a value indicating whether the Appointment Recurrence form is displayed on the top of the Edit Appointment form.
Inherited from Appointment |
Parent |
Gets or sets a parent of the form being shown.
Inherited from Show |
Query |
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 Recurrent |
Read |
Gets a value indicating whether an appointment is read-only.
Inherited from Appointment |
#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: