Skip to main content

ExceptionRule Class

Represents a rule for exceptions to the regular workweek schedule.

Namespace: DevExpress.XtraGantt.Base.Scheduling

Assembly: DevExpress.XtraGantt.v23.2.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

public abstract class ExceptionRule :
    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.

See Also