Appointment.RecurrenceInfo Property

Gets information that specifies recurrence rules.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

IRecurrenceInfo RecurrenceInfo { get; }
ReadOnly Property RecurrenceInfo As IRecurrenceInfo

Property Value

Type Description
IRecurrenceInfo

A IRecurrenceInfo object that contains information about recurrence rules.

Remarks

If the current appointment is recurring the RecurrenceInfo property provides access to its recurrence rules. For the appointments whose type is AppointmentType.Normal this property returns null (Nothing in Visual Basic).

IMPORTANT

When working with recurring appointments in bound mode, specify the AppointmentMappingInfo.RecurrenceInfo and AppointmentMappingInfo.Type mappings for correct operation.

To specify recurrence information for an appointment, do not create the RecurrenceInfo instance. It is created automatically for appointment's pattern. Use the technique described in the How to: Create Appointments with Various Recurrence Types Programmatically document.

TIP

Use the RecurrenceInfo.ToXml and RecurrenceInfo.FromXml methods to save and load the recurrence information in xml format.

See Also