AppointmentModificationControllerBase.AreExceptionsPresent() Method

Returns a value that indicates if the appointment currently being edited in the form is an exception, or it's a recurrence pattern with exceptions.

Namespace: DevExpress.XtraScheduler.Native

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

public virtual bool AreExceptionsPresent()
Public Overridable Function AreExceptionsPresent As Boolean

Returns

Type Description
Boolean

true if exceptions are present; otherwise, false.

Remarks

The AreExceptionsPresent method returns different values on the appointment according to its Appointment.Type. The following is a list of the possible values.

Appointment Type Return Value
Normal false, always.
Pattern Its Appointment.HasExceptions property's value.
Occurrence true if it has been changed (its AppointmentModificationControllerBase.IsAppointmentChanged method returns true), or if its recurrence pattern (Appointment.RecurrencePattern) has exceptions (Appointment.HasExceptions); otherwise, false.
ChangedOccurrence true, always.
See Also