AppointmentRecurrenceFormSettings.RecurrenceRange Property
In This Article
Specifies the time limits of the recurrence.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public RecurrenceRange RecurrenceRange { get; set; }
#Property Value
Type | Description |
---|---|
Recurrence |
An enumeration value. |
Available values:
Name | Description |
---|---|
No |
A recurring appointment will not have an end date. |
Occurrence |
A recurring appointment will end after its recurrence count exceeds the value specified by the Recurrence |
End |
A recurring appointment will end after the date specified by the Recurrence |
#Remarks
@Html.DevExpress().Scheduler(
settings => {
settings.Name = "scheduler";
<!-- ... -->
settings.OptionsForms.SetAppointmentFormTemplateContent(c => {
<!-- ... -->
ViewBag.AppointmentRecurrenceFormSettings = CreateAppointmentRecurrenceFormSettings(c);
});
}).Bind(Model.Appointments, Model.Resources).SetErrorText(ViewBag.SchedulerErrorText).GetHtml()
AppointmentRecurrenceFormSettings CreateAppointmentRecurrenceFormSettings(AppointmentFormTemplateContainer container) {
return new AppointmentRecurrenceFormSettings {
RecurrenceRange = RecurrenceRange.EndByDate,
<!-- ... -->
};
}
This property corresponds to the RecurrenceInfo.Range property.
See Also