IRecurrenceInfo.WeekOfMonth Property

Gets or sets the occurrence number of the week in a month for the recurrence pattern.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.Core.dll

Declaration

WeekOfMonth WeekOfMonth { get; set; }
Property WeekOfMonth As WeekOfMonth

Property Value

Type Description
WeekOfMonth

A WeekOfMonth enumeration value that specifies a week in every month.

Remarks

The WeekOfMonth property specifies the week in a month that the occurrences will occur in. Subsequently the RecurrenceInfo.WeekDays property is used to specify the days in the weeks.

The RecurrenceInfo.Periodicity property specifies whether the frequency of the occurrences is in months or years.

For instance, if you are using the yearly basis and you want an appointment to occur only for every third week of a specific month, you can set the WeekOfMonth property to the WeekOfMonth.Third value and then specify the desired day and month via the RecurrenceInfo.WeekDays and RecurrenceInfo.Month properties.

See Also