AppointmentRibbonForm.IsAppointmentChanged(Appointment) Method
This method is called automatically to determine whether a user has modified an appointment. If your appointments have custom fields that are editable through that form, override this method to manually compare custom field data.
Namespace: DevExpress.XtraScheduler.UI
Assembly: DevExpress.XtraScheduler.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
appointment | Appointment | An Appointment object that is the appointment edited in the appointment form. |
Returns
Type | Description |
---|---|
Boolean | true if a custom appointment field is changed for the appointment loaded in the editing form; otherwise, false. |
Remarks
The following code illustrates how to use the IsAppointmentChanged method in a custom form to indicate that a custom field is modified so that the AppointmentFormController object on the form will save the appointment.
See Also