Skip to main content

AppointmentRecurrenceFormSettings.RecurrenceType Property

Specifies the recurrence’s frequency type.

Namespace: DevExpress.Web.Mvc

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

Declaration

public RecurrenceType RecurrenceType { get; set; }

Property Value

Type Description
RecurrenceType

The recurrence’s frequency type.

Available values:

Name Description
Daily

The recurring appointment reoccurs on a daily base.

Weekly

The recurring appointment reoccurs on a weekly base.

Monthly

The recurring appointment reoccurs on a monthly base.

Yearly

The recurring appointment reoccurs on an yearly base.

Minutely

The recurring appointment reoccurs on a minute base.

Hourly

The recurring appointment reoccurs on an hourly base.

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.Type property.

See Also