Back to Devexpress

AppointmentItem.RecurrencePattern Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitem-abbd7089.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
[Obsolete("Use the following API instead: scheduler.GetPattern(AppointmentItem occurrenceOrException)", false)]
public AppointmentItem RecurrencePattern { get; }
vb
<Obsolete("Use the following API instead: scheduler.GetPattern(AppointmentItem occurrenceOrException)", False)>
Public ReadOnly Property RecurrencePattern As AppointmentItem

Property Value

TypeDescription
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.

See Also

AppointmentItem Class

AppointmentItem Members

DevExpress.Xpf.Scheduling Namespace