AppointmentItem.RecurrencePattern Property
OBSOLETE
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.v24.1.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
[Obsolete("Use the following API instead: scheduler.GetPattern(AppointmentItem occurrenceOrException)", false)]
public AppointmentItem RecurrencePattern { get; }
Property Value
Type | Description |
---|---|
AppointmentItem | An AppointmentItem object that is the pattern appointment or null if the current appointment is not recurring. |
Remarks
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.