Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WorkWeekRule.Add(DayOfWeek, WorkTime[]) Method

Adds the specified day of week to the workweek.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

public WorkDayOfWeek Add(
    DayOfWeek dayOfWeek,
    params WorkTime[] workTimes
)

#Parameters

Name Type Description
dayOfWeek DayOfWeek

A value that specifies the day of the week.

workTimes WorkTime[]

An array of objects that specify work intervals.

#Returns

Type Description
WorkDayOfWeek

An object that specifies a work day of the week.

See Also