Back to Devexpress

AppointmentMappingInfo.RecurrenceInfo Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentmappinginfo-df6bd650.md

latest8.0 KB
Original Source

AppointmentMappingInfo.RecurrenceInfo Property

Gets or sets the data field to which an appointment’s Appointment.RecurrenceInfo property is bound.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
[DefaultValue("")]
public virtual string RecurrenceInfo { get; set; }
vb
<DefaultValue("")>
Public Overridable Property RecurrenceInfo As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value that specifies the name of the bound data field.

|

Remarks

Use the RecurrenceInfo property to bind an appointment’s Appointment.RecurrenceInfo property to a data field in the external data source. The data source is specified by the PersistentObjectStorage<T>.DataSource property of the AppointmentStorage.

The type of the data field used in this mapping is string. Since the Appointment.RecurrenceInfo property is of the RecurrenceInfo type, binding it to a data field implies assigning appropriate values to the RecurrenceInfo object’s specific properties (such as the RecurrenceInfo.AllDay, RecurrenceInfo.DayNumber, RecurrenceInfo.WeekOfMonth and etc). These values are automatically taken from the bound data field (which should be of the memo type) by parsing the field’s value based on its specific structure. The line below demonstrates a sample field value given in the required notation.

<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

Recurring appointments require the AppointmentMappingInfo.Type mapping in addition to the RecurrenceInfo mapping.

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.

winforms-scheduler-gantt-view/CS/dxT183299/Form1.cs#L85

csharp
mappings.Location = "Location";
mappings.RecurrenceInfo = "RecurrenceInfo";
mappings.ReminderInfo = "ReminderInfo";

winforms-scheduler-handle-fetchappointments-event/CS/Form1.cs#L59

csharp
mappings.Location = "Location";
mappings.RecurrenceInfo = "RecurrenceInfo";
mappings.ReminderInfo = "ReminderInfo";

how-to-initialize-appointment-images-and-display-text-using-the-custom-field-values-t328320/CS/CustomAppointmentImageAndText/Form1.cs#L84

csharp
mappings.Location = "Location";
mappings.RecurrenceInfo = "RecurrenceInfo";
mappings.ReminderInfo = "ReminderInfo";

winforms-scheduler-replace-default-command/CS/WindowsFormsApplication1/Form1.cs#L66

csharp
mappings.Location = "Location";
mappings.RecurrenceInfo = "RecurrenceInfo";
mappings.ReminderInfo = "ReminderInfo";

winforms-scheduler-sync-outlook-calendars/CS/SyncWithOutlook/Form1.cs#L56

csharp
aptmappings.Location = "Location";
aptmappings.RecurrenceInfo = "RecurrenceInfo";
aptmappings.ReminderInfo = "ReminderInfo";

winforms-scheduler-gantt-view/VB/dxT183299/Form1.vb#L81

vb
mappings.Location = "Location"
mappings.RecurrenceInfo = "RecurrenceInfo"
mappings.ReminderInfo = "ReminderInfo"

winforms-scheduler-handle-fetchappointments-event/VB/Form1.vb#L62

vb
mappings.Location = "Location"
mappings.RecurrenceInfo = "RecurrenceInfo"
mappings.ReminderInfo = "ReminderInfo"

how-to-initialize-appointment-images-and-display-text-using-the-custom-field-values-t328320/VB/CustomAppointmentImageAndText/Form1.vb#L79

vb
mappings.Location = "Location"
mappings.RecurrenceInfo = "RecurrenceInfo"
mappings.ReminderInfo = "ReminderInfo"

winforms-scheduler-replace-default-command/VB/WindowsFormsApplication1/Form1.vb#L66

vb
mappings.Location = "Location"
mappings.RecurrenceInfo = "RecurrenceInfo"
mappings.ReminderInfo = "ReminderInfo"

winforms-scheduler-sync-outlook-calendars/VB/SyncWithOutlook/Form1.vb#L57

vb
aptmappings.Location = "Location"
aptmappings.RecurrenceInfo = "RecurrenceInfo"
aptmappings.ReminderInfo = "ReminderInfo"

See Also

Appointment Mappings

RecurrenceInfo

ToXml()

FromXml(String)

AppointmentMappingInfo Class

AppointmentMappingInfo Members

DevExpress.XtraScheduler Namespace