wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitem-e2be1f95.md
Use the following API instead: scheduler.GetExceptions(AppointmentItem pattern).Count() > 0
Gets whether the current pattern appointment has changed or deleted occurrences in the recurring series.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
[Obsolete("Use the following API instead: scheduler.GetExceptions(AppointmentItem pattern).Count() > 0", false)]
public bool HasExceptions { get; }
<Obsolete("Use the following API instead: scheduler.GetExceptions(AppointmentItem pattern).Count() > 0", False)>
Public ReadOnly Property HasExceptions As Boolean
| Type | Description |
|---|---|
| Boolean |
true, if there are changed or deleted occurrences in the recurring series for the current pattern appointment; otherwise, false.
|
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 returns false.
If the current appointment is not a patten (its AppointmentItem.Type is not AppointmentType.Pattern), the HasExceptions returns null.
Tip
To get changed or deleted occurrences for a pattern appointment, use the SchedulerControl.GetExceptions method. To create a changed or deleted occurrence for a pattern, use the SchedulerControl.GetOccurrenceOrException method.
See Also