Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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 SchedulerControl.GetExceptions method. To create a changed or deleted occurrence for a pattern, use the SchedulerControl.GetOccurrenceOrException method.

See Also