Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public virtual bool IsAppointmentChanged(
    Appointment appointment
)

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