Back to Devexpress

RecurrenceInfo.Range Property

corelibraries-devexpress-dot-xtrascheduler-dot-recurrenceinfo-8bff997f.md

latest7.3 KB
Original Source

RecurrenceInfo.Range Property

Gets or sets the type of the recurrence range.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public RecurrenceRange Range { get; set; }
vb
Public Property Range As RecurrenceRange

Property Value

TypeDescription
RecurrenceRange

A RecurrenceRange enumeration value that specifies the recurrence’s range type.

|

Available values:

NameDescription
NoEndDate

A recurring appointment will not have an end date.

| | OccurrenceCount |

A recurring appointment will end after its recurrence count exceeds the value specified by the RecurrenceInfo.OccurrenceCount property.

| | EndByDate |

A recurring appointment will end after the date specified by the RecurrenceInfo.End property.

|

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:

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.

wpf-scheduler-obtain-selected-appointment-resource-and-time-interval/CS/DXSchedulerSelection/Model/SportChannels.cs#L107

csharp
recInfo.WeekDays = WeekDays.WorkDays;
recInfo.Range = RecurrenceRange.EndByDate;
recInfo.Type = RecurrenceType.Daily;

wpf-scheduler-add-datenavigator-and-resourcetree-controls/CS/DXSample/Data/Data.cs#L181

csharp
recInfo.WeekDays = WeekDays.WorkDays;
recInfo.Range = RecurrenceRange.EndByDate;
recInfo.Type = RecurrenceType.Daily;

wpf-scheduler-customize-context-menus/CS/DXScheduler_PopUpMenuCustomization/Model/SportChannels.cs#L107

csharp
recInfo.WeekDays = WeekDays.WorkDays;
recInfo.Range = RecurrenceRange.EndByDate;
recInfo.Type = RecurrenceType.Daily;

wpf-scheduler-disable-resource-colorization/CS/DXSample/Data/Data.cs#L181

csharp
recInfo.WeekDays = WeekDays.WorkDays;
recInfo.Range = RecurrenceRange.EndByDate;
recInfo.Type = RecurrenceType.Daily;

wpf-scheduler-obtain-selected-appointment-resource-and-time-interval/VB/DXSchedulerSelection/Model/SportChannels.vb#L141

vb
recInfo.WeekDays = WeekDays.WorkDays
recInfo.Range = RecurrenceRange.EndByDate
recInfo.Type = RecurrenceType.Daily

wpf-scheduler-add-datenavigator-and-resourcetree-controls/VB/DXSample/Data/Data.vb#L307

vb
recInfo.WeekDays = WeekDays.WorkDays
recInfo.Range = RecurrenceRange.EndByDate
recInfo.Type = RecurrenceType.Daily

wpf-scheduler-customize-context-menus/VB/DXScheduler_PopUpMenuCustomization/Model/SportChannels.vb#L141

vb
recInfo.WeekDays = WeekDays.WorkDays
recInfo.Range = RecurrenceRange.EndByDate
recInfo.Type = RecurrenceType.Daily

wpf-scheduler-disable-resource-colorization/VB/DXSample/Data/Data.vb#L307

vb
recInfo.WeekDays = WeekDays.WorkDays
recInfo.Range = RecurrenceRange.EndByDate
recInfo.Type = RecurrenceType.Daily

Implements

Range

See Also

OccurrenceCount

Start

End

RecurrenceInfo Class

RecurrenceInfo Members

DevExpress.XtraScheduler Namespace