Skip to main content
A newer version of this page is available. .

AppointmentRecurrenceFormSettings.IsFormRecreated Property

Specifies whether the form is recreated and does not require an update to create a child control hierarchy.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool IsFormRecreated { get; set; }

Property Value

Type Description
Boolean

true if the form is recreated and does not require an update to create a child control hierarchy.; otherwise, false.

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 {
        Name = "appointmentRecurrenceForm",
        IsFormRecreated = container.IsFormRecreated
        <!-- ... -->
    };
}

Run Demo: MVC Scheduler - Custom Forms

See Also