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.v24.1.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
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. |
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AreExceptionsPresent() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.