Custom fields for appointments provide a way to associate arbitrary information with an appointment. This example represents a simple application that enables you to display, edit and save data contained in appointment custom fields. The application uses MS Access database as the data source.
Custom field mappings are established at design time using Mapping Wizards.
The InitNewAppointment event is handled to specify initial values for custom fields. The AppointmentInserting and AppointmentChanging events are handled to log changes or to prevent certain appointments from being created or changed.
To work with custom fields, a new appointment form is implemented. It descends form the DevExpress.XtraScheduler.UI.AppointmentForm, includes additional controls required to represent custom fields. To load and save custom fields a custom form controller is implemented. It inherits from the DevExpress.XtraScheduler.UI.AppointmentFormController and overrides several methods to provide the required functionality.
See also:
Custom form, custom fields and custom actions on reminder alert