Skip to main content
A newer version of this page is available. .

YearlyRecurrenceBuilder Class

Allows you to define yearly recurrences.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, 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.-->
<dxsch:AppointmentItem 
    Type="Pattern"
    Start="1/1/2019 13:00:00"
    End="1/1/2019 13:05:00"
    Subject="Every 3 days. Five occurrences."
    RecurrenceInfo="{dxsch:RecurrenceYearly Start='1/1/2019 13:00:00', ByMonthDay=7, ByMonth=2, OccurrenceCount=4}"
    />

Inheritance

Object
DevExpress.Xpf.Scheduling.RecurrenceBuilderBase
YearlyRecurrenceBuilder
See Also