Skip to main content

SchedulerControl.RecurrenceFormShowing Event

Occurs before the Appointment Recurrence form is invoked.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public event RecurrenceFormEventHandler RecurrenceFormShowing

Event Data

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

Property Description
AllowResize Gets or sets a value indicating whether end users are allowed to resize the form. Inherited from FormShowingEventArgs.
AppointmentFormViewModel Gets the View Model for the appointment editing form from which the Appointment Recurrence dialog is invoked.
Cancel Gets or sets the value indicating whether to cancel invoking the form. Inherited from FormShowingEventArgs.
Controller Gets or sets the controller providing settings which are required to edit appointment recurrence in the Appointment Recurrence form.
Form Gets or sets the form which will be invoked. Inherited from FormShowingEventArgs.
ParentForm Gets the appointment editing form from which the Appointment Recurrence form is invoked.
SizeToContent Obsolete. This property is obsolete. Inherited from FormShowingEventArgs.
ViewModel Gets or sets the View Model for the form which will be invoked. Inherited from FormShowingEventArgs.

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Handle the RecurrenceFormShowing event to perform any actions before the Appointment Recurrence form is shown. For instance, a custom form can be substituted in place of the standard one (the FormShowingEventArgs.Form property). If you use your own custom Edit Appointment form and it is required to invoke the default Appointment Recurrence dialog from this form, handle the RecurrenceFormShowing event and set the RecurrenceFormEventArgs.Controller property to the appointment editing form’s controller.

The Appointment Recurrence form can be invoked either by an end-user or via the SchedulerControl.ShowRecurrenceForm method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RecurrenceFormShowing event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also