Version

TaskDurationWorkingTimePerDay Property

Returns or sets a value indicating the amount of time considered to be in one workday when a task's duration is parsed or formatted.
Syntax
'Declaration
 
Public Property TaskDurationWorkingTimePerDay As TimeSpan
public TimeSpan TaskDurationWorkingTimePerDay {get; set;}
Remarks

When the user types a value in the Duration field that is parsed as a value which is expressed as a number of days, the parsing and formatting logic must be made aware of the actual amount of working time the value represents. By default, the value of the associated UltraCalendarInfo's TaskWorkingHourMode is used to make this determination; when TaskWorkingHourMode is set to 'AutoAdjust', it is assumed that the application is interested in working days/hours, so the value resolves to the number of hours in a workday, which is the amount of time spanned for all days by default by the WorkDayStartTime and WorkDayEndTime properties, or 9 hours.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also