RecurrenceInfo Class
Contains a recurring appointment’s reocurrence information.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.1.Core.dll
Declaration
public class RecurrenceInfo :
PersistentObject,
IPersistentObject,
IBatchUpdateable,
IDisposable,
IRecurrenceInfo,
INotifyPropertyChanged,
IInternalRecurrenceInfo,
IInternalPersistentObject
Related API Members
The following members accept/return RecurrenceInfo objects:
Remarks
The RecurrenceInfo class encapsulates information about the reoccurrences 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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RecurrenceInfo class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.