Skip to main content

SchedulerItemBase.RecurrenceInfo Property

Gets or sets information that defines an appointment’s recurrence rule.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public IRecurrenceInfo RecurrenceInfo { get; set; }

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 SchedulerItemBaseMappings.RecurrenceInfo and AppointmentMappings.Type mappings for correct operation.

Review the How to: Create Recurrence in Code document for information on creating recurrence info for an appointment.

Tip

You can use the IRecurrenceInfo.ToXml, IRecurrenceInfo.FromXml and RecurrenceInfoXmlPersistenceHelper.ObjectFromXml methods to save and load the recurrence information in XML format.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RecurrenceInfo property.

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.

See Also