Back to Devexpress

AppointmentRecurrenceFormSettings Class

aspnetmvc-devexpress-dot-web-dot-mvc-5fa0bfc6.md

latest2.0 KB
Original Source

AppointmentRecurrenceFormSettings Class

Contains Appointment Recurrence Form settings.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public class AppointmentRecurrenceFormSettings :
    SettingsBase
vb
Public Class AppointmentRecurrenceFormSettings
    Inherits SettingsBase

Remarks

cshtml
@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 {
        Name = "appointmentRecurrenceForm",
        Width = Unit.Percentage(100),
        <!-- ... -->
    };
}

Run Demo: MVC Scheduler - Custom Forms

Inheritance

Object SettingsBase AppointmentRecurrenceFormSettings

See Also

AppointmentRecurrenceFormSettings Members

DevExpress.Web.Mvc Namespace