Skip to main content

RecurrenceInfo.Periodicity Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v14.2.Core.dll

#Declaration

public int Periodicity { get; set; }

#Property Value

Type Description
Int32

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

#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

RecurrenceInfo_Periodicity_Daily

RecurrenceInfo.Type = RecurrenceType.Weekly

RecurrenceInfo_Periodicity_Weekly

RecurrenceInfo.Type = RecurrenceType.Monthly

RecurrenceInfo_Periodicity_Monthly

NOTE

If the RecurrenceInfo.Type property is set to the RecurrenceType.Yearly, the Periodicity property can be still used to define the recurrence's yearly frequency in code but there is no visual means to specify this in the Appointment Recurrence dialog. For an example, see How to: Customize Yearly Recurrence

See Also