Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    SchedulerRecurrenceFormInfo Class

    Stores information about the Scheduler’s Recurrence form.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

    C#
    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