Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    RecurrenceBuilder Class

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

    Namespace: DevExpress.Xpf.Scheduling

    Assembly: DevExpress.Xpf.Scheduling.v25.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