Back to Devexpress

IRecurrenceInfo.End Property

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

latest3.6 KB
Original Source

IRecurrenceInfo.End Property

Gets or sets the end date of the interval in which recurrences occur.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
DateTime End { get; set; }
vb
Property [End] As Date

Property Value

TypeDescription
DateTime

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

|

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

csharp
apt3.RecurrenceInfo.Range = RecurrenceRange.EndByDate;
apt3.RecurrenceInfo.End = apt1.RecurrenceInfo.Start.AddHours(10);
scheduler.AppointmentItems.Add(apt3);

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

csharp
apt.RecurrenceInfo.Start = now;
apt.RecurrenceInfo.End = now.AddDays(6);
apt.RecurrenceInfo.Range = DevExpress.XtraScheduler.RecurrenceRange.EndByDate;

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

vb
apt3.RecurrenceInfo.Range = RecurrenceRange.EndByDate
apt3.RecurrenceInfo.End = apt1.RecurrenceInfo.Start.AddHours(10)
Me.scheduler.AppointmentItems.Add(apt3)

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

vb
apt.RecurrenceInfo.Start = now
apt.RecurrenceInfo.End = now.AddDays(6)
apt.RecurrenceInfo.Range = DevExpress.XtraScheduler.RecurrenceRange.EndByDate

See Also

Range

Start

Duration

IRecurrenceInfo Interface

IRecurrenceInfo Members

DevExpress.XtraScheduler Namespace