Skip to main content

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

NuGet Package: DevExpress.Win.Scheduler


public RecurrentAppointmentAction QueryResult { get; set; }

Property Value

Type Description

A RecurrentAppointmentAction enumeration member specifying an action to perform.

Available values:

Name Description

Cancels the action.


Performs an operation on the entire series.


Performs an operation on a selected occurrence only.


The user is prompted to carry out an operation on selected occurrences only, or the entire series.


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