Back to Devexpress

ExceptionRule Class

windowsforms-devexpress-dot-xtragantt-dot-base-dot-scheduling-1e9318f7.md

latest2.7 KB
Original Source

ExceptionRule Class

Represents a rule for exceptions to the regular workweek schedule.

Namespace : DevExpress.XtraGantt.Base.Scheduling

Assembly : DevExpress.XtraGantt.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
public abstract class ExceptionRule :
    BaseRule
vb
Public MustInherit Class ExceptionRule
    Inherits BaseRule

Remarks

Use the StartDate property to specify the date when a rule must apply. To specify when the rule stops, use the following properties:

  • Occurrences - specifies how many times the rule is applied from the start date.
  • EndDate - specifies the date until which the rule is applied.

If both Occurrences and EndDate properties are specified, the rule reoccurs until the latest date.

Inheritance

Show 12 items

Object BaseRule ExceptionRule DaysExceptionRule

WorkTimesExceptionRule

YearlyExceptionRule

DailyExceptionRule

MonthlyDayOfWeekExceptionRule

MonthlyExceptionRule

WeeklyExceptionRule

YearlyDayOfWeekExceptionRule

YearlyDayOfYearExceptionRule

See Also

ExceptionRule Members

DevExpress.XtraGantt.Base.Scheduling Namespace