Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

DxSchedulerRecurrenceSettings Class

Specifies common settings for recurrent appointments.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public class DxSchedulerRecurrenceSettings

The following members return DxSchedulerRecurrenceSettings objects:

#Remarks

This class allows you to specify settings for all recurrent appointments. To change settings of an individual recurrent appointment, use properties of the DxSchedulerRecurrenceInfo object.

The following code snippet specifies an occurrence count for recurrent appointments. The Meeting 1 and Meeting 2 appointments occur 3 times (the RecurrenceSettings.OccurrenceCount property is applied). The Meeting 3 appointment occurs 10 times (the DxSchedulerRecurrenceInfo.OccurrenceCount property is applied).

@using Data

<DxScheduler StartDate="@DateTime.Today" DataStorage="@DataStorage">
    <DxSchedulerWeekView ShowWorkTimeOnly="true" />
</DxScheduler>

@code {
    DxSchedulerDataStorage DataStorage = new DxSchedulerDataStorage() {
        RecurrenceSettings = new DxSchedulerRecurrenceSettings {
            OccurrenceCount = 3
        },
        AppointmentsSource = RecurrentAppointmentCollection.GetAppointments(),
        AppointmentMappings = new DxSchedulerAppointmentMappings() {
            Type = "AppointmentType",
            Start = "StartDate",
            End = "EndDate",
            Subject = "Caption",
            AllDay = "AllDay",
            Location = "Location",
            Description = "Description",
            LabelId = "Label",
            StatusId = "Status",
            RecurrenceInfo = "Recurrence"
        }
    };
}

Recurrence Settings

#Inheritance

Object
DxSchedulerRecurrenceSettings
See Also