WPF › Project Management › WorkingWeek
WorkingWeek
enum.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.ProjectManagement
The days of the week that are worked, as flags that combine, so a whole working week is one
property value: WorkingWeek.Monday | WorkingWeek.Tuesday | WorkingWeek.Wednesday | WorkingWeek.Thursday
for a four-day week.
public enum WorkingWeek
Remarks
Each chart's WorkingWeek property takes one of these. Durations and lags count only the days
it names, and the Gantt chart shades the others. Holidays are given separately, as dates.
Examples
// A retail project that works Saturdays and rests on Mondays.
gantt.WorkingWeek = WorkingWeek.Tuesday | WorkingWeek.Wednesday | WorkingWeek.Thursday
| WorkingWeek.Friday | WorkingWeek.Saturday;See also
Members at a glance
| Members | |
|---|---|
EveryDay | Every day of the week, for work that does not stop at weekends. |
Friday | Friday is worked. |
Monday | Monday is worked. |
None | No day. Read as every day being worked, so that no task is ever infinitely long. |
Saturday | Saturday is worked. |
Sunday | Sunday is worked. |
Thursday | Thursday is worked. |
Tuesday | Tuesday is worked. |
Wednesday | Wednesday is worked. |
Weekdays | Monday to Friday: the default of every chart. |
Members
EveryDay
Every day of the week, for work that does not stop at weekends.
Friday
Friday is worked.
Monday
Monday is worked.
None
No day. Read as every day being worked, so that no task is ever infinitely long.
Saturday
Saturday is worked.
Sunday
Sunday is worked.
Thursday
Thursday is worked.
Tuesday
Tuesday is worked.
Wednesday
Wednesday is worked.
Weekdays
Monday to Friday: the default of every chart.