Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ExceptionRule Class

Represents a rule for exceptions to the regular workweek schedule.

Namespace: DevExpress.XtraGantt.Base.Scheduling

Assembly: DevExpress.XtraGantt.v24.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