Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

YearlyRecurrenceBuilder Class

Allows you to define yearly recurrences.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public class YearlyRecurrenceBuilder :
    RecurrenceBuilderBase

#Remarks

The example below illustrates how to create a recurrence that lasts indefinitely and occurs on the first weekend day of June.

  // Every seventh day of February every year. Four occurrences.
  apt1.SetRecurrenceInfo(RecurrenceBuilder.Yearly(apt1.Start, 4).ByMonthDay(2, 7).Build());

#Inheritance

Object
DevExpress.Xpf.Scheduling.RecurrenceBuilderBase
YearlyRecurrenceBuilder
See Also