Back to Devexpress

GanttSettings.WorkTimeRules Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-ganttsettings-144f248c.md

latest2.4 KB
Original Source

GanttSettings.WorkTimeRules Property

Provides access to the work time rules collection.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public WorkTimeRulesCollection WorkTimeRules { get; }
vb
Public ReadOnly Property WorkTimeRules As WorkTimeRulesCollection

Property Value

TypeDescription
WorkTimeRulesCollection

A collection of work time rules.

|

Remarks

The Gantt allows you to specify work days, work hours, and holidays.

Run Demo: MVCxGantt - Work Time Schedule

The Gantt stores its work time rules in the WorkTimeRules collection. The following work time rules are available:

The following table lists common rule settings:

|

Property

|

Description

| | --- | --- | |

IsWorkDay

|

Specifies whether a day is a work day.

| |

Recurrence

|

Provides a rule’s recurrence settings. Each rule type provides an individual set of recurrence settings:

| |

WorkTimeRanges

|

Provides settings for work time ranges.

|

See Also

GanttSettings Class

GanttSettings Members

DevExpress.Web.Mvc Namespace