Skip to main content

SchedulerControl.WorkDays Property

Gets or sets days that form a work week. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public WeekDays WorkDays { get; set; }

Property Value

Type Description
WeekDays

A WeekDays enumeration values that specify work days.

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

Use the WorkDays property to define days that are a part of your work week. This information is used by the Work Week View, which displays only working days by default.

The default work week lasts from Monday through Friday. Use the WorkDays property to specify a different set of work days.

<dxsch:SchedulerControl x:Name="scheduler" WorkDays="Monday,Wednesday,Friday"/>

The following code snippets (auto-collected from DevExpress Examples) contain references to the WorkDays 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