Back to Devexpress

IRecurrenceInfo.Start Property

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

latest6.0 KB
Original Source

IRecurrenceInfo.Start Property

Gets or sets the recurrence’s start date.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
DateTime Start { get; set; }
vb
Property Start As Date

Property Value

TypeDescription
DateTime

A DateTime value that specifies the start date for the recurrence.

|

Remarks

The Start property specifies the start date for the range of recurrence - the period of time in which the corresponding appointment occurs.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Start 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#L39

csharp
apt1.RecurrenceInfo.Type = RecurrenceType.Minutely;
apt1.RecurrenceInfo.Start = apt1.Start;
apt1.RecurrenceInfo.Periodicity = 10;

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/CS/ScheduledTasksAPIClientDemo/SchedulerJobViewerForm.cs#L85

csharp
appointment.RecurrenceInfo.FromXml(scheduledJob.SerializedRecurrenceInfo);
appointment.RecurrenceInfo.Start = appointment.Start;
return appointment;

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

csharp
apt.RecurrenceInfo.Type = RecurrenceType.Daily;
apt.RecurrenceInfo.Start = apt.Start;
apt.RecurrenceInfo.Periodicity = 2;

winforms-scheduler-create-appointments-on-reminder-alert/CS/ReminderCustomActions/Form1.cs#L101

csharp
aptPattern.RecurrenceInfo.OccurrenceCount = 10;
aptPattern.RecurrenceInfo.Start = apTime.AddDays(-4);

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

csharp
apt.RecurrenceInfo.Periodicity = 1;
apt.RecurrenceInfo.Start = now;
apt.RecurrenceInfo.End = now.AddDays(6);

wpf-scheduler-create-recurrent-appointments-in-code/VB/RecurrenceExamples/MainWindow.xaml.vb#L39

vb
apt1.RecurrenceInfo.Type = RecurrenceType.Minutely
apt1.RecurrenceInfo.Start = apt1.Start
apt1.RecurrenceInfo.Periodicity = 10

report-server-how-to-manage-scheduled-jobs-from-a-windows-forms-application/VB/ScheduledTasksAPIClientDemo/SchedulerJobViewerForm.vb#L91

vb
appointment.RecurrenceInfo.FromXml(scheduledJob.SerializedRecurrenceInfo)
appointment.RecurrenceInfo.Start = appointment.Start
Return appointment

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

vb
apt.RecurrenceInfo.Type = RecurrenceType.Daily
apt.RecurrenceInfo.Start = apt.Start
apt.RecurrenceInfo.Periodicity = 2

winforms-scheduler-create-appointments-on-reminder-alert/VB/ReminderCustomActions/Form1.vb#L103

vb
aptPattern.RecurrenceInfo.OccurrenceCount = 10
aptPattern.RecurrenceInfo.Start = apTime.AddDays(-4)

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

vb
apt.RecurrenceInfo.Periodicity = 1
apt.RecurrenceInfo.Start = now
apt.RecurrenceInfo.End = now.AddDays(6)

See Also

IRecurrenceInfo Interface

IRecurrenceInfo Members

DevExpress.XtraScheduler Namespace