Skip to main content

SchedulerItemBaseMappings.RecurrenceInfo Property

Gets or sets the mapping that binds the appointment’s AppointmentItem.RecurrenceInfo property to the data source field.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public Mapping RecurrenceInfo { get; set; }

Property Value

Type Description
Mapping

A DevExpress.Xpf.Scheduling.Mapping object that specifies the bound data field and converter.

Remarks

Use the RecurrenceInfo property to bind the appointment’s AppointmentItem.RecurrenceInfo property to a data field. The data field is obtained from the data source specified by the DataSource.AppointmentsSourceProperty property.

The AppointmentItem.RecurrenceInfo property binding requires assigning the values to the RecurrenceInfo object’s properties. These values are obtained by parsing the data field content.

The data field contains recurrence information as the string in XML-like format, as illustrated in the following sample:

<RecurrenceInfo AllDay="False" 
DayNumber="1" 
DayOfMonth="0" 
WeekDays="42" 
Id="51c81018-53fa-4d10-925f-2ed7f8408c75" 
Month="12" 
OccurenceCount="19" 
Periodicity="1" 
Range="2" 
Start="7/11/2005 7:00:00" 
End="8/24/2005 1:00:00" 
Type="1" />

Important

The RecurrenceInfo property does not support IRecurrenceInfo values. Use a string value instead.

You can implement a value converter and register it by assigning to the Mapping.Converter property to use a custom format for storing recurrence information.

The following code snippets (auto-collected from DevExpress Examples) contain references 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