Skip to main content

AppointmentRecurrenceFormSettings.RecurrenceRange Property

Specifies the time limits of the recurrence.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public RecurrenceRange RecurrenceRange { get; set; }

Property Value

Type Description
RecurrenceRange

An enumeration value.

Available values:

Name Description
NoEndDate

A recurring appointment will not have an end date.

OccurrenceCount

A recurring appointment will end after its recurrence count exceeds the value specified by the RecurrenceInfo.OccurrenceCount property.

EndByDate

A recurring appointment will end after the date specified by the RecurrenceInfo.End property.

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,
        <!-- ... -->
    };
}

Run Demo: MVC Scheduler - Custom Forms

This property corresponds to the RecurrenceInfo.Range property.

See Also