AppointmentItem.HasExceptions Property

Obsolete. Gets whether the current pattern appointment has changed or deleted occurrences in the recurring series.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

[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

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.

See Also