Skip to main content

WeeklyRecurrenceBuilder Class

Allows you to define weekly recurrences.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public class WeeklyRecurrenceBuilder :
    RecurrenceBuilderBase

Remarks

The example below illustrates how to create a recurrence that lasts indefinitely and occurs on Monday, Wednesday and Friday at 9:00 AM every third week.

  // 2 weeks interval, on Monday and Wednesday, 15 occurrences.
  apt1.SetRecurrenceInfo(RecurrenceBuilder.Weekly(apt1.Start, 15).ByDay(WeekDays.Monday | WeekDays.Wednesday).Interval(2).Build());

Inheritance

Object
DevExpress.Xpf.Scheduling.RecurrenceBuilderBase
WeeklyRecurrenceBuilder
See Also