RecurrenceInfo.WeekDays Property

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

Namespace: DevExpress.XtraScheduler

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

Declaration

public WeekDays WeekDays { get; set; }
Public Property WeekDays As WeekDays

Property Value

Type Description
WeekDays

The WeekDays enumeration's value specifying the day/days in a week.

Remarks

The WeekDays property defines a specific day/days in a week which is used to calculate the appointment occurrences in the recurrence pattern.

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

The pictures in the following table demonstrate how the WeekDays property can be assigned for the recurrence pattern in the Appointment Recurrence dialog.

RecurrenceInfo.Type = RecurrenceType.Daily

RecurrenceInfo.WeekDays_EveryDay RecurrenceInfo.WeekDays_WorkDays

RecurrenceInfo.Type = RecurrenceType.Weekly

RecurrenceInfo.WeekDays_MondayAndFriday

RecurrenceInfo.Type = RecurrenceType.Monthly

RecurrenceInfo.WeekDays_Monthly_WeekendDays

RecurrenceInfo.Type = RecurrenceType.Yearly

RecurrenceInfo.Month - WeekDay

Implements

See Also