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.v21.2.dll

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"/>
See Also