Back to Devexpress

IRecurrenceInfo.Periodicity Property

corelibraries-devexpress-dot-xtrascheduler-dot-irecurrenceinfo-db73027d.md

latest5.8 KB
Original Source

IRecurrenceInfo.Periodicity Property

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

Declaration

csharp
int Periodicity { get; set; }
vb
Property Periodicity As Integer

Property Value

TypeDescription
Int32

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

|

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 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

csharp
apt1.RecurrenceInfo.Start = apt1.Start;
apt1.RecurrenceInfo.Periodicity = 10;
apt1.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount;

winforms-scheduler-recurrence-series-occurrencecalculator/CS/OccurrenceCalculatorSample/Form1.cs#L32

csharp
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

csharp
aptPattern.RecurrenceInfo.Type = RecurrenceType.Daily;
aptPattern.RecurrenceInfo.Periodicity = 2;
aptPattern.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount;

winforms-scheduler-sync-with-ews/CS/EWSSyncExample/ExchangeExampleForm.cs#L20

csharp
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

vb
apt1.RecurrenceInfo.Start = apt1.Start
apt1.RecurrenceInfo.Periodicity = 10
apt1.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount

winforms-scheduler-recurrence-series-occurrencecalculator/VB/OccurrenceCalculatorSample/Form1.vb#L30

vb
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

vb
aptPattern.RecurrenceInfo.Type = RecurrenceType.Daily
aptPattern.RecurrenceInfo.Periodicity = 2
aptPattern.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount

winforms-scheduler-sync-with-ews/VB/EWSSyncExample/ExchangeExampleForm.vb#L22

vb
apt.RecurrenceInfo.Type = DevExpress.XtraScheduler.RecurrenceType.Daily
apt.RecurrenceInfo.Periodicity = 1
apt.RecurrenceInfo.Start = now

See Also

IRecurrenceInfo Interface

IRecurrenceInfo Members

DevExpress.XtraScheduler Namespace