DxSchedulerDataStorage.RecurrenceSettings Property

Specifies common settings for recurrent appointments.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

Declaration

public DxSchedulerRecurrenceSettings RecurrenceSettings { get; set; }

Property Value

Type Description
DxSchedulerRecurrenceSettings

A DxSchedulerRecurrenceSettings object that contains information on recurrent appointments' settings.

Remarks

Use the RecurrenceSettings property to specify common settings for all recurrent appointments. To change settings of an individual recurrent appointment, use properties of the DxSchedulerRecurrenceInfo object.

The code below demonstrates how to specify 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

See Also