DxSchedulerRecurrenceInfo.OccurrenceCount Property
Specifies how many times the recurrent appointment occurs.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public int OccurrenceCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 | An integer value that specifies the number of occurrences. |
Remarks
The recurrent appointment reoccurs during the period of time called range. The Start property specifies the range’s start date.
If the Range property is set to OccurrenceCount, the OccurrenceCount
property defines the range’s end date (after recurrence count exceeds the specified value). In other cases, the OccurrenceCount
value is ignored.
If the Range is set to EndByDate, the End property defines the range’s end date. If the Range is set to NoEndDate, the appointment repeats indefinitely.
See the DxSchedulerRecurrenceInfo class description for more information and an example.
You can also specify a default count of occurrences for all recurrent appointments. To do this, use the DxSchedulerRecurrenceSettings.OccurrenceCount property.