Back to Devexpress

AppointmentFormControllerBase Class

corelibraries-devexpress-dot-xtrascheduler-dot-ui.md

latest3.3 KB
Original Source

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.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public abstract class AppointmentFormControllerBase :
    AppointmentModificationControllerBase
vb
Public MustInherit Class AppointmentFormControllerBase
    Inherits 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.

Inheritance

Object AppointmentModificationControllerBase AppointmentFormControllerBase AppointmentFormController

See Also

AppointmentFormControllerBase Members

How to: Customize an Appointment Recurrence Form

How to: Prevent End-Users from Editing Appointments

DevExpress.XtraScheduler.UI Namespace