DailyWorkday

RecurringInterval.DailyWorkday property

Gets or sets a value indicating whether a day is workday for daily progress lines.

public bool DailyWorkday { get; set; }

Examples

Shows how to add daily recurring interval of progress lines.

var project = new Project(DataDir + "Project2007.mpp");
project.Set(Prj.StatusDate, project.Get(Prj.StartDate));

var view = (GanttChartView)project.Views.ToList()[1];

view.ProgressLines.RecurringInterval = new RecurringInterval();
// set the daily pattern day number
view.ProgressLines.RecurringInterval.DailyDayNumber = 2;
// set a value indicating whether a day is workday for daily progress lines.
view.ProgressLines.RecurringInterval.DailyWorkday = true;

See Also