Skip to main content
A newer version of this page is available. .

RecurrenceInfo.End Property

Gets or sets the recurrence’s end date.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.Core.dll

Declaration

public DateTime End { get; set; }

Property Value

Type Description
DateTime

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

Remarks

If the RecurrenceInfo.Range property is set to the RecurrenceRange.EndByDate value, the End property can be used together with the RecurrenceInfo.Start property to define the range of recurrence - the period of time in which the appointment reoccurs. The End property specifies when the last occurrence will be repeated.

RecurrenceInfo.End.gif

Note that when defining the range of recurrence via code, the RecurrenceInfo.Duration property can be used instead of the End property. These two properties are interdependent, so changing the value of the End property affects the RecurrenceInfo.Duration property’s value and vice versa.

The value of the End property is ignored if the RecurrenceInfo.Range property is set to either the RecurrenceRange.OccurrenceCount or RecurrenceRange.NoEndDate value.

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.

Implements

See Also