corelibraries-devexpress-dot-xtrascheduler-dot-irecurrenceinfo-db73027d.md
Gets or sets the frequency with which the corresponding appointment occurs, with respect to the RecurrenceInfo.Type property.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
int Periodicity { get; set; }
Property Periodicity As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value that specifies the frequency with which the corresponding appointment occurs.
|
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 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.
wpf-scheduler-create-recurrent-appointments-in-code/CS/RecurrenceExamples/MainWindow.xaml.cs#L40
apt1.RecurrenceInfo.Start = apt1.Start;
apt1.RecurrenceInfo.Periodicity = 10;
apt1.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount;
winforms-scheduler-recurrence-series-occurrencecalculator/CS/OccurrenceCalculatorSample/Form1.cs#L32
apt.RecurrenceInfo.Start = apt.Start;
apt.RecurrenceInfo.Periodicity = 2;
apt.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount;
winforms-scheduler-create-appointments-on-reminder-alert/CS/ReminderCustomActions/Form1.cs#L98
aptPattern.RecurrenceInfo.Type = RecurrenceType.Daily;
aptPattern.RecurrenceInfo.Periodicity = 2;
aptPattern.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount;
winforms-scheduler-sync-with-ews/CS/EWSSyncExample/ExchangeExampleForm.cs#L20
apt.RecurrenceInfo.Type = DevExpress.XtraScheduler.RecurrenceType.Daily;
apt.RecurrenceInfo.Periodicity = 1;
apt.RecurrenceInfo.Start = now;
wpf-scheduler-create-recurrent-appointments-in-code/VB/RecurrenceExamples/MainWindow.xaml.vb#L40
apt1.RecurrenceInfo.Start = apt1.Start
apt1.RecurrenceInfo.Periodicity = 10
apt1.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount
winforms-scheduler-recurrence-series-occurrencecalculator/VB/OccurrenceCalculatorSample/Form1.vb#L30
apt.RecurrenceInfo.Start = apt.Start
apt.RecurrenceInfo.Periodicity = 2
apt.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount
winforms-scheduler-create-appointments-on-reminder-alert/VB/ReminderCustomActions/Form1.vb#L100
aptPattern.RecurrenceInfo.Type = RecurrenceType.Daily
aptPattern.RecurrenceInfo.Periodicity = 2
aptPattern.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount
winforms-scheduler-sync-with-ews/VB/EWSSyncExample/ExchangeExampleForm.vb#L22
apt.RecurrenceInfo.Type = DevExpress.XtraScheduler.RecurrenceType.Daily
apt.RecurrenceInfo.Periodicity = 1
apt.RecurrenceInfo.Start = now
See Also