Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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