RecurrenceInfo Class
The storage for the pattern appointment‘s recurrence information.
Namespace: DevExpress.XamarinForms.Scheduler
Assembly: DevExpress.XamarinForms.Scheduler.dll
NuGet Package: DevExpress.XamarinForms.Scheduler
Declaration
public class RecurrenceInfo :
NotifyPropertyChangedBase,
IRecurrenceInfo,
INotifyPropertyChanged
Remarks
Note
Generally, you should interact with class instances via the IRecurrenceInfo interface. The only place where you ought to initialize objects of this class is Converter of AppointmentMappings.RecurrenceInfo‘s with ConversionBehavior set to InPlaceOfMapping.
The pattern appointment’s AppointmentItem.RecurrenceInfo property provides data about the periodicity of occurrences generated by the pattern. The property returns instances of classes that implement the IRecurrenceInfo interface. Generally it is RecurrenceInfo objects.
A scheduler view uses this information to generate occurrence appointments, and the OccurrenceCalculator can compute parameters of occurrences with this information.
All recurrence info properties are split into two groups:
Properties that manage how long occurrences appear. The Range property manages which properties from this group the calculator uses to generate occurrences:
RecurrenceRange Value
Used properties
EndByDate
OccurrenceCount
NoEndDate
Properties that manage how often occurrences appear. The Type property manages which properties from this group the calculator uses to generate occurrences:
RecurrenceType Value
Used properties
Daily
Weekly
Monthly
Yearly
Important
The AppointmentItem.RecurrenceInfo property returns null
if AppointmentItem.Type is not Pattern.