Version

SetSummaryDurationFormat Method

Sets the format used to depict this task's Duration when it is a summary task.
Syntax
'Declaration
 
Public Sub SetSummaryDurationFormat( _
   ByVal value As Infragistics.Win.TimeSpanFormat _
) 
public void SetSummaryDurationFormat( 
   Infragistics.Win.TimeSpanFormat value
)

Parameters

value
A TimeSpanFormat constant which determines whether this task's duration is expressed in weeks, days, hours, or minutes when it is a summary.
Remarks

A summary task is defined as a task which has one or more child tasks.

By default, a summary task displays its duration using 'Days' as its unit of time measurement; this method makes it possible to override that behavior.

The value specified is applicable only when this task is a summary task. Calling the method on a task which has no children will have no observable effect, until one or more tasks are added to its Tasks collection.

If a task's child tasks are removed, thus reverting the task's status as a summary task, the last format applied before the task became a summary task is used.

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