AppointmentItem.HasExceptions Property
OBSOLETE
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.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
[Obsolete("Use the following API instead: scheduler.GetExceptions(AppointmentItem pattern).Count() > 0", false)]
public bool HasExceptions { get; }
Property Value
Type | Description |
---|---|
Boolean | True, if there are changed or deleted occurrences in the recurring series 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 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 AppointmentItem.GetExceptions method. To create a changed or deleted occurrence for a pattern, use the AppointmentItem.CreateException method.