RecurrentAppointmentActionFormEventArgs.QueryResult Property

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.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll


public RecurrentAppointmentAction QueryResult { get; set; }
Public Property QueryResult As RecurrentAppointmentAction

Property Value

Type Description

A RecurrentAppointmentAction enumeration member specifying an action to perform.


The figure below illustrates a confirmation dialog.


You can forcibly select one of the options the dialog suggests, and never show it to users. To do that, handle the SchedulerControl.DeleteRecurrentAppointmentFormShowing event and:

private void SchedulerControl_DeleteRecurrentAppointmentFormShowing(object sender, DeleteRecurrentAppointmentFormEventArgs e)
    e.QueryResult = RecurrentAppointmentAction.Occurrence;
    e.DialogResult = DialogResult.OK;
    e.Handled = true;
See Also