DxScheduler.WorkDays Property
Specifies days assigned to a workweek.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(SchedulerWeekDays.WorkDays)]
[Parameter]
public SchedulerWeekDays WorkDays { get; set; }
Property Value
Type | Default | Description |
---|---|---|
SchedulerWeekDays | WorkDays | A SchedulerWeekDays enumeration value. |
Available values:
Name | Description | Value |
---|---|---|
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>
See Also