All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

WorkWeekRule.Add(DayOfWeek, IEnumerable<WorkTime>) Method

Adds the specified day of week to the workweek.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v20.1.dll

Declaration

public WorkDayOfWeek Add(
    DayOfWeek dayOfWeek,
    IEnumerable<WorkTime> workTimes
)
Public Function Add(
    dayOfWeek As DayOfWeek,
    workTimes As IEnumerable(Of WorkTime)
) As WorkDayOfWeek

Parameters

Name Type Description
dayOfWeek DayOfWeek

A value that specifies the day of the week.

workTimes IEnumerable<WorkTime>

A collection of objects that specify work intervals.

Returns

Type Description
WorkDayOfWeek

An object that specifies a work day of the week.

See Also