RecurrenceInfo Class
Contains a recurring appointment’s reoccurrence information.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
Declaration
public class RecurrenceInfo :
PersistentObject,
IPersistentObject,
IBatchUpdateable,
IDisposable,
IRecurrenceInfo,
INotifyPropertyChanged,
IInternalRecurrenceInfo,
IInternalPersistentObject
Related API Members
The following members return RecurrenceInfo objects:
Remarks
The RecurrenceInfo class encapsulates information about the re-occurrences of a recurring appointment. All of the reoccurrence’s attributes are defined using the RecurrenceInfo class’ properties. These properties can be divided into the following three groups, according to their designation and if they appear within the Appointment Recurrence dialog.
Group Name | Property |
---|---|
Range of Recurrence | RecurrenceInfo.Range (the determinant property),RecurrenceInfo.Start,RecurrenceInfo.End,RecurrenceInfo.Duration,RecurrenceInfo.OccurrenceCount |
Recurrence Pattern | RecurrenceInfo.Type (the determinant property),RecurrenceInfo.WeekOfMonth,RecurrenceInfo.WeekDays,RecurrenceInfo.Periodicity,RecurrenceInfo.Month,RecurrenceInfo.DayNumber |
Auxiliary | RecurrenceInfo.AllDay,PersistentObject.Id |
The data that the RecurrenceInfo class provides is sufficient to calculate a particular appointment’s reoccurrence.
An instance of the RecurrenceInfo class can be accessed via a recurring appointment’s Appointment.RecurrenceInfo property.
To specify recurrence information for an appointment, you shouldn’t create a RecurrenceInfo
instance. It is created automatically for the appointment’s pattern. See the How to: Create Appointments with Various Recurrence Types Programmatically topic for more information.