WorkTimeRulesCollection Class
A collection of work time rules: DailyRule, WeeklyRule, MonthlyRule, YearlyRule.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
Declaration
Related API Members
The following members return WorkTimeRulesCollection objects:
Library | Related API Members |
---|---|
ASP.NET Web Forms Controls | ASPxGantt.WorkTimeRules |
ASP.NET MVC Extensions | GanttSettings.WorkTimeRules |
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
Online Demos
Web Forms: ASPxGantt - Work Time Schedule)
Inheritance
Object
StateManagedCollectionBase
Collection
WorkTimeRulesCollection
See Also