DxScheduler.WorkDays Property

Specifies days assigned to a workweek.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(SchedulerWeekDays.WorkDays)]
public SchedulerWeekDays WorkDays { get; set; }

Property Value

Type Default Description
SchedulerWeekDays

WorkDays

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 the days from Monday to Friday.

EveryDay

Specifies every day.

Remarks

Use the WorkDays property to specify the working days of the week. The property accepts the SchedulerWeekDays enumeration values. For example, to set working days to Monday, Wednesday, and Thursday, use the following syntax:

<DxScheduler 
    WorkDays="@(SchedulerWeekDays.Monday | SchedulerWeekDays.Wednesday | SchedulerWeekDays.Thursday)"
    DataStorage="@DataStorage">
    <DxSchedulerWeekView/>
</DxScheduler>

Run Demo: Scheduler — Week View

See Also