Back to Devexpress

MonthlyRecurrenceBuilder Class

wpf-devexpress-dot-xpf-dot-scheduling-fa26f8fa.md

latest3.0 KB
Original Source

MonthlyRecurrenceBuilder Class

Allows you to define monthly recurrences.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public class MonthlyRecurrenceBuilder :
    RecurrenceBuilderBase
vb
Public Class MonthlyRecurrenceBuilder
    Inherits RecurrenceBuilderBase

The following members return MonthlyRecurrenceBuilder objects:

Remarks

The example below illustrates how to create a recurrence that lasts 5 months and occurs on the first weekend day of every month.

xaml
<!--On 11th day of each month. Four occurrences.-->
<dxsch:AppointmentItem 
    Type="Pattern"
    Start="1/1/2019 13:00:00"
    End="1/1/2019 13:05:00"
    Subject="On 11th day of each month. Four occurrences."
    RecurrenceInfo="{dxsch:RecurrenceMonthly Start='1/1/2019 13:00:00', ByMonthDay=11, OccurrenceCount=4}"
    />
csharp
// On 11th day of each month. Four occurrences.
  apt1.SetRecurrenceInfo(RecurrenceBuilder.Monthly(apt1.Start, 4).ByDay(11).Build());
vb
' On 11th day of each month. Four occurrences.
  apt1.SetRecurrenceInfo(RecurrenceBuilder.Monthly(apt1.Start, 4).ByDay(11).Build())

Inheritance

Object DevExpress.Xpf.Scheduling.RecurrenceBuilderBase MonthlyRecurrenceBuilder

See Also

MonthlyRecurrenceBuilder Members

DevExpress.Xpf.Scheduling Namespace