Skip to main content

Appointment.HasExceptions Property

Gets whether changed or deleted occurrences have been created for the current pattern appointment.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

bool HasExceptions { get; }

Property Value

Type Description
Boolean

true, if changed or deleted occurrences have been created for the current pattern appointment; otherwise, false.

Remarks

The HasExceptions property returns true if changed or deleted occurrences exist in the recurrence series for the current appointment pattern. If exceptional appointments have not been created for the pattern, the HasExceptions property will return false.

If the current appointment is not a patten (its Appointment.Type is not AppointmentType.Pattern), the HasExceptions returns null .

To get changed or deleted occurrences for a pattern appointment, use the Appointment.GetExceptions method. To create a changed or deleted occurrence for a pattern, use the Appointment.CreateException method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HasExceptions property.

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.

See Also