RecurrenceInfo.Range Property
Gets or sets the type of the recurrence range.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
public RecurrenceRange Range { get; set; }
#Property Value
Type | Description |
---|---|
Recurrence |
A Recurrence |
Available values:
Name | Description |
---|---|
No |
A recurring appointment will not have an end date. |
Occurrence |
A recurring appointment will end after its recurrence count exceeds the value specified by the Recurrence |
End |
A recurring appointment will end after the date specified by the Recurrence |
#Remarks
The Range property specifies the manner in which the range of recurrence is defined - it sets the time boundaries/limits of the recurrence.
There are three possible scenarios for specifying values for this property:
RecurrenceRange.OccurrenceCount - The range of the recurrence can be represented by the number of occurrences that should elapse until the recurrence is no longer in effect. The number of occurrences is specified by the RecurrenceInfo.OccurrenceCount property.
RecurrenceRange.EndByDate - The range of recurrence can be represented by a pair of properties - the RecurrenceInfo.Start and RecurrenceInfo.End (the start and end time of the recurrence). The RecurrenceInfo.OccurrenceCount property’s value is not in effect in this case.
RecurrenceRange.NoEndDate - The range of recurrence is unbound. The values of the RecurrenceInfo.OccurrenceCount and RecurrenceInfo.End properties are ignored.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Range 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.