A newer version of this page is available. Switch to the current version.

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.v19.1.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 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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Periodicity property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Implements

See Also