WorkTimeRulesCollection Class

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

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v20.1.dll

Declaration

public class WorkTimeRulesCollection :
    Collection
Public Class WorkTimeRulesCollection
    Inherits Collection

Related API Members

The following members accept/return WorkTimeRulesCollection objects:

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

Implements

DevExpress.Utils.IAssignableCollection

Inheritance

See Also