Skip to main content

RecurrenceInfo.WeekDays Property

Gets or sets the day/days in a week on which the corresponding appointment reoccurs.

Namespace: DevExpress.XtraScheduler

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

#Declaration

public WeekDays WeekDays { get; set; }

#Property Value

Type Description
WeekDays

The WeekDays enumeration member specifying the day/days in a week.

#Remarks

The WeekDays property defines a specific day/days in a week used to calculate the corresponding appointment's recurrence in the recurrence pattern.

Note that for the recurrence's frequency of the monthly or yearly type (the RecurrenceInfo.Type property value is set to either RecurrenceType.Monthly or RecurrenceType.Yearly), and the WeekDays property is in effect if the RecurrenceInfo.WeekOfMonth property is not set to the WeekOfMonth.None value.

The images in the following table demonstrate the ways in which the WeekDays property can be assigned for the recurrence pattern in the Appointment Recurrence dialog.

RecurrenceInfo.Type = RecurrenceType.Daily

RecurrenceInfo_WeekDays_Daily

RecurrenceInfo.Type = RecurrenceType.Weekly

RecurrenceInfo_WeekDays_Weekly

RecurrenceInfo.Type = RecurrenceType.Monthly

RecurrenceInfo_WeekDays_Monthly

RecurrenceInfo.Type = RecurrenceType.Yearly

RecurrenceInfo_WeekDays_Yearly

See Also