All docs
V19.2
19.2
19.1
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.

WorkTimeRulesCollection Class

A collection of work time rules: DailyRule, WeeklyRule, MonthlyRule, YearlyRule.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v19.2.dll

Declaration

public class WorkTimeRulesCollection :
    Collection
Public Class WorkTimeRulesCollection
    Inherits Collection

Remarks

<dx:ASPxGantt ID="Gantt" runat="server" KeyFieldName="ID" ParentFieldName="ParentID" ... /> 
    ...
    <WorkTimeRules> 
        <dx:DailyRule>
            <WorkTimeRanges>
                <dx:WorkTimeRange Start="08:00" End="11:55" />
                <dx:WorkTimeRange Start="13:00" End="17:00" />
            </WorkTimeRanges>
        </dx:DailyRule>
        <dx:WeeklyRule IsWorkDay="false">
            <Recurrence DayOfWeek="Saturday" />
        </dx:WeeklyRule>
        <dx:WeeklyRule IsWorkDay="false">
            <Recurrence DayOfWeek="Sunday" />
        </dx:WeeklyRule>
        <dx:YearlyRule IsWorkDay="false">
            <Recurrence Day="27" Month="May" />
        </dx:YearlyRule>
        <dx:YearlyRule IsWorkDay="false">
            <Recurrence Day="14" Month="February" />
        </dx:YearlyRule>
        <dx:YearlyRule IsWorkDay="false">
            <Recurrence Day="8" Month="March" />
        </dx:YearlyRule>
    </WorkTimeRules>
</dx:ASPxGantt>

Concept

Work Time Rules

Online Demos

Inheritance

Implements

DevExpress.Utils.IAssignableCollection
See Also