Skip to main content

RecurrenceInfo.Periodicity Property

Gets or sets the frequency with which the corresponding appointment reoccurs, with respect to the RecurrenceInfo.Type property.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public int Periodicity { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the frequency with which the corresponding appointment reoccurs.

Remarks

The base element that defines the recurrence’s behavior is frequency - the time base used to calculate when the corresponding appointment repeats: daily, weekly, monthly or yearly (see the Appointment.Type property). The Periodicity property specifies the interval which defines how the recurrence’s frequency is applied based upon the frequency type specified by the RecurrenceInfo.Type property (for instance, every Nth day; every Nth week, every Nth month, every Nth year).

The images in the following table demonstrate the ways in which the Periodicity property can be assigned to the recurrence pattern in the Appointment Recurrence dialog.

RecurrenceInfo.Type = RecurrenceType.Daily

Periodicity_Daily.gif

RecurrenceInfo.Type = RecurrenceType.Weekly

Periodicity_Weekly.gif

RecurrenceInfo.Type = RecurrenceType.Monthly

Periodicity_Monthly.gif

Note that if the RecurrenceInfo.Type property is set to the RecurrenceType.Yearly value, the Periodicity property can still be used to define the recurrence’s yearly frequency via code but there is no visual means to specify this in the Appointment Recurrence dialog.

Implements

See Also