Back to Devexpress

WorkWeekRule Members

windowsforms-devexpress-dot-xtragantt-dot-workweekrule-dot-underscore-members.md

latest4.5 KB
Original Source

WorkWeekRule Members

Represents a regular workweek schedule.

Constructors

NameDescription
WorkWeekRule()Initializes a new instance of the WorkWeekRule class.
WorkWeekRule(GanttControl)Initializes a new WorkWeekRule class instance.

Properties

NameDescription
Item[DayOfWeek]Returns a WorkDayOfWeek object that specifies the work day schedule for the specified day of the week.

Methods

NameDescription
Add(WorkDayOfWeek)Adds the specified day of week to the workweek.’
Add(DayOfWeek, WorkTime[])Adds the specified day of week to the workweek.
Add(DayOfWeek, IEnumerable<WorkTime>)Adds the specified day of week to the workweek.
AddNonWorkDay(DayOfWeek)Adds the specified day of the week to the workweek schedule as a non-work day.
AddRange(WorkDayOfWeek[])Adds an array to the collection.
AddWorkDay(DayOfWeek)Adds the specified day of the week to the workweek schedule.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetDefaultWorkTime(DayOfWeek)For internal use.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
Includes(DateTime)Returns whether the rules includes the specified date. Inherited from BaseRule.
Includes(Int64)For internal use.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

WorkWeekRule Class

DevExpress.XtraGantt Namespace