RecurrenceInfo.End Property

Gets or sets the recurrence's end date.

Namespace: DevExpress.XtraScheduler

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

Declaration

public DateTime End { get; set; }
Public Property End As Date

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.

Implements

See Also