All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

RecurrenceBuilder Class

Allows you to define recurrence rules using method chaining (Fluent API style).

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public class RecurrenceBuilder
Public Class RecurrenceBuilder

Remarks

The example below shows how to define a weekly recurrence.

using DevExpress.Xpf.Scheduling;
using DevExpress.XtraScheduler;

RecurrenceInfo recInfo = (RecurrenceInfo)RecurrenceBuilder
    .Weekly(new System.DateTime(2018, 1, 1), new System.DateTime(2019, 1, 1))
    .ByDay(WeekDays.Monday | WeekDays.Wednesday | WeekDays.Friday).Build();

Inheritance

Object
RecurrenceBuilder
See Also