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

WorkdayRuleCollection Class

Represents a collection of working and nonworking day rules.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.2.dll

NuGet Package: DevExpress.Wpf.Gantt

#Declaration

public sealed class WorkdayRuleCollection :
    RuleCollectionBase<WorkdayRule>

The following members return WorkdayRuleCollection objects:

#Remarks

The GanttControl stores its working and nonworking day rules within the GanttView.WorkdayRules collection. The WorkdayRuleCollection class provides methods that can be used to add, delete, or access individual rules and perform other common collection management tasks. Individual rules are represented by the WorkdayRule objects and can be accessed by using indexed notation.

#Inheritance

See Also