AppointmentFormControllerBase Class
Serves as a base class to provide the basic functionality for managing the appointment at the appointment’s editing form.
Namespace: DevExpress.XtraScheduler.UI
Assembly: DevExpress.XtraScheduler.v18.1.Core.dll
Declaration
public abstract class AppointmentFormControllerBase :
AppointmentModificationControllerBase
Remarks
The AppointmentFormControllerBase class provides a copy of the selected appointment so the end-user can safely modify the needed characteristics - AppointmentFormControllerBase.Start, AppointmentFormControllerBase.End, AppointmentFormControllerBase.Subject, AppointmentFormControllerBase.Location, etc. It is used to create the recurrence series and apply the recurrence pattern using the PrepareToRecurrenceEdit and ApplyRecurrence methods. After all changes are made, they should be applied to the original scheduler’s appointment using the ApplyChanges method.
The appointment can also be deleted - the AppointmentFormControllerBase.CanDeleteAppointment indicates whether this is possible, and the AppointmentFormControllerBase.DeleteAppointment method accomplishes this.
For more information, please refer to the How to: Create a Custom Appointment Recurrence Form (Method 1) article and demo applications.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentFormControllerBase class.
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.