Back to Devexpress

RecurrenceInfo Class

corelibraries-devexpress-dot-xtrascheduler-5c22c515.md

latest5.1 KB
Original Source

RecurrenceInfo Class

Contains a recurring appointment’s reoccurrence information.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public class RecurrenceInfo :
    PersistentObject,
    IPersistentObject,
    IBatchUpdateable,
    IDisposable,
    IRecurrenceInfo,
    INotifyPropertyChanged,
    IInternalRecurrenceInfo,
    IInternalPersistentObject
vb
Public Class RecurrenceInfo
    Inherits PersistentObject
    Implements IPersistentObject,
               IBatchUpdateable,
               IDisposable,
               IRecurrenceInfo,
               INotifyPropertyChanged,
               IInternalRecurrenceInfo,
               IInternalPersistentObject

The following members return RecurrenceInfo objects:

LibraryRelated API Members
WinForms ControlsTimeRegion.Recurrence
ASP.NET MVC ExtensionsAppointmentRecurrenceFormExtension.GetValue(String, Appointment, TimeZoneHelper)
AppointmentRecurrenceFormExtension.GetValue(String, Appointment)

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 NameProperty
Range of RecurrenceRecurrenceInfo.Range (the determinant property),RecurrenceInfo.Start,RecurrenceInfo.End,RecurrenceInfo.Duration,RecurrenceInfo.OccurrenceCount
Recurrence PatternRecurrenceInfo.Type (the determinant property),RecurrenceInfo.WeekOfMonth,RecurrenceInfo.WeekDays,RecurrenceInfo.Periodicity,RecurrenceInfo.Month,RecurrenceInfo.DayNumber
AuxiliaryRecurrenceInfo.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.

Implements

IIdProvider

IPersistentObject

IRecurrenceInfo

Inheritance

Object DevExpress.XtraScheduler.Utils.NotifyPropertyChanged PersistentObject RecurrenceInfo

See Also

RecurrenceInfo Members

RecurrenceInfo

How to: Create Appointments with Various Recurrence Types Programmatically

DevExpress.XtraScheduler Namespace