wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitem-abbd7089.md
Use the following API instead: scheduler.GetPattern(AppointmentItem occurrenceOrException)
Gets the pattern appointment for the current appointment.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
[Obsolete("Use the following API instead: scheduler.GetPattern(AppointmentItem occurrenceOrException)", false)]
public AppointmentItem RecurrencePattern { get; }
<Obsolete("Use the following API instead: scheduler.GetPattern(AppointmentItem occurrenceOrException)", False)>
Public ReadOnly Property RecurrencePattern As AppointmentItem
| Type | Description |
|---|---|
| AppointmentItem |
An AppointmentItem object that is the pattern appointment or null if the current appointment is not recurring.
|
The RecurrencePattern property is obsolete. Use the SchedulerControl.GetPattern method to obtain the pattern appointments for the specified occurrence.
If an appointment is recurring (see the AppointmentItem.IsRecurring property) it is an occurrence in the series which starts with a pattern appointment and whose characteristics are defined by that pattern. Use the RecurrencePattern property to obtain the pattern of the current appointment. A pattern appointment has the AppointmentItem.Type property set to AppointmentType.Pattern. The recurrence information defined by the pattern appointment can be accessed using the AppointmentItem.RecurrenceInfo property.
See Also