Skip to main content
All docs
V24.1

SchedulerRecurrenceFormInfo Class

Stores information about the Scheduler’s Recurrence form.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public class SchedulerRecurrenceFormInfo

The following members return SchedulerRecurrenceFormInfo objects:

Remarks

You can use the RecurrenceFormInfo property to access the SchedulerRecurrenceFormInfo object that stores information about the Recurrence form.

Use RepeatEndItems and WeekDayItems properties to customize the Recurrence form.

The following code snippet does the following:

  • Defines two items in the Repeat end list: End after, End by. The list displays items in the same order as in code.
  • Removes the Weekend item from the Week day list.
<DxScheduler DataStorage="@DataStorage" 
             AppointmentFormMode="SchedulerAppointmentFormMode.EditForm"
             AppointmentFormShowing="OnAppointmentFormShowing">
    <DxSchedulerWeekView ShowWorkTimeOnly="true" />
</DxScheduler>

@code {
    DxSchedulerDataStorage DataStorage = new DxSchedulerDataStorage() {
            AppointmentsSource = AppointmentCollection.GetAppointments(),
            AppointmentMappings = new DxSchedulerAppointmentMappings() {
                Start = "StartDate",
                End = "EndDate",
                Subject = "Caption",
                LabelId = "Label",
                StatusId = "Status"
            }
        };

    void OnAppointmentFormShowing(SchedulerAppointmentFormEventArgs args) {
        args.FormInfo.RecurrenceFormInfo.RepeatEndItems = new List<SchedulerRecurrenceRange>() {
            SchedulerRecurrenceRange.OccurrenceCount,
            SchedulerRecurrenceRange.EndByDate
        };

        args.FormInfo.RecurrenceFormInfo.WeekDayItems.Remove(SchedulerWeekDays.WeekendDays);
    }
}

Custom Recurrence form

Inheritance

Object
SchedulerRecurrenceFormInfo
See Also