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

RecurrenceInfo.Duration Property

Gets or sets the recurrence’s duration.

Namespace: DevExpress.XtraScheduler

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

Declaration

public TimeSpan Duration { get; set; }

Property Value

Type Description
TimeSpan

A TimeSpan value that specifies the duration of the recurrence.

Remarks

If the RecurrenceInfo.Range property is set to the RecurrenceRange.EndByDate value, the Duration 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 Duration property specifies the recurrence’s duration.

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

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

Implements

See Also