Skip to main content

DailyRecurrenceControl.WeekDays Property

Gets or sets the days of the week for appointment scheduling.

Namespace: DevExpress.Web.ASPxScheduler.Controls

Assembly: DevExpress.Web.ASPxScheduler.v23.2.dll

NuGet Package: DevExpress.Web.Scheduler

Declaration

[DefaultValue(WeekDays.EveryDay)]
public WeekDays WeekDays { get; set; }

Property Value

Type Default Description
WeekDays EveryDay

A WeekDays enumeration, specifying the days of the week.

Available values:

Name Description
Sunday

Specifies Sunday.

Monday

Specifies Monday.

Tuesday

Specifies Tuesday.

Wednesday

Specifies Wednesday.

Thursday

Specifies Thursday.

Friday

Specifies Friday.

Saturday

Specifies Saturday.

WeekendDays

Specifies Saturday and Sunday.

WorkDays

Specifies work days (Monday, Tuesday, Wednesday, Thursday and Friday).

EveryDay

Specifies every day of the week.

Remarks

For the DailyRecurrenceControl the default value is WeekDays.EveryDay.

Implement the DailyRecurrenceControl.ValidateValues override to check the DailyRecurrenceControl.Periodicity and WeekDays for proper values.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WeekDays property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also