Back to Devexpress

ASPxAppointmentMappingInfo.RecurrenceInfo Property

aspnet-devexpress-dot-web-dot-aspxscheduler-dot-aspxappointmentmappinginfo-68d63776.md

latest8.5 KB
Original Source

ASPxAppointmentMappingInfo.RecurrenceInfo Property

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

Namespace : DevExpress.Web.ASPxScheduler

Assembly : DevExpress.Web.ASPxScheduler.v25.2.dll

NuGet Package : DevExpress.Web.Scheduler

Declaration

csharp
[DefaultValue("")]
public override string RecurrenceInfo { get; set; }
vb
<DefaultValue("")>
Public Overrides 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.

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" />

Note that the RecurrenceInfo.ToXml and RecurrenceInfo.FromXml methods can be used to correctly save and load the recurrence information in xml format.

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.

asp-net-mvc-scheduler-custom-go-to-date-dialog/CS/Scheduler.CustomizationGotoDateForm/Models/SchedulingDataClasses.cs#L161

csharp
appointmentStorage.Mappings.Type = "EventType";
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo";
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";

asp-net-mvc-scheduler-crud-operations/CS/MVCSchedulerEditable/Models/SchedulerStorageProvider.cs#L30

csharp
appointmentStorage.Mappings.Type = "Type";
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo";
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";

asp-net-mvc-scheduler-fetch-appointment-event/CS/DevExpressMvcSchedulerFetchAppointments/Models/SchedulerDataHelper.cs#L75

csharp
appointmentStorage.Mappings.Type = "Type";
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo";
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";

asp-net-mvc-scheduler-custom-appointment-form/CS/Models/Scheduling.cs#L82

csharp
appointmentStorage.Mappings.Type = "EventType";
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo";
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";

how-to-customize-the-appointment-dialog-using-view-model-api-working-with-custom-fields-t582020/CS/DevExpressMvcApplication1/Models/SchedulerDataHelper.cs#L73

csharp
appointmentStorage.Mappings.Location = "Location";
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo";
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";

asp-net-mvc-scheduler-crud-operations/VB/MVCSchedulerEditable/Models/SchedulerStorageProvider.vb#L27

vb
appointmentStorage.Mappings.Type = "Type"
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo"
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"

asp-net-mvc-scheduler-fetch-appointment-event/VB/DevExpressMvcSchedulerFetchAppointments/Models/SchedulerDataHelper.vb#L69

vb
appointmentStorage.Mappings.Type = "Type"
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo"
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"

asp-net-mvc-scheduler-custom-appointment-form/VB/Models/Scheduling.vb#L85

vb
appointmentStorage.Mappings.Type = "EventType"
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo"
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"

how-to-customize-the-appointment-dialog-using-view-model-api-working-with-custom-fields-t582020/VB/DevExpressMvcApplication1/Models/SchedulerDataHelper.vb#L77

vb
appointmentStorage.Mappings.Location = "Location"
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo"
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"

asp-net-mvc-scheduler-use-checkboxlist-to-filter-resources/VB/Code/SchedulerHelper.vb#L63

vb
appointmentStorage.Mappings.Type = "EventType"
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo"
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"

See Also

ASPxAppointmentMappingInfo Class

ASPxAppointmentMappingInfo Members

DevExpress.Web.ASPxScheduler Namespace