Skip to main content

RecurrenceBuilder Class

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

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

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