AppointmentFormController Class

Provides all the settings which are required to edit a particular appointment in a custom Edit Appointment form.

Namespace: DevExpress.Xpf.Scheduler.UI

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

Declaration

public class AppointmentFormController :
    AppointmentFormControllerBase
Public Class AppointmentFormController
    Inherits AppointmentFormControllerBase

Related API Members

The following members accept/return AppointmentFormController objects:

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.

The AppointmentFormController class enables you to create your own custom appointment editing form and use it instead of the default form. It can be helpful, for example, when it is necessary to add the capability to edit custom fields using the custom Edit Appointment form, or to change the form's layout. You can customize the appointment's time interval, subject, location, description, status and label, resource index, recurrence options, etc. using the members of this class.

NOTE

To substitute the standard Edit Appointment form with your own custom form, handle the SchedulerControl.EditAppointmentFormShowing event and use the FormShowingEventArgs.Form property of the EditAppointmentFormEventArgs object.

For an example on how to create a custom Edit appointment form using the AppointmentFormController class, refer to Lesson 9 - Create a Custom Edit Appointment Form (legacy).

See Also