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.v24.1.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
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.