Version

MinimumTaskWidth Property

Returns or sets a value which determines the minimum width, in pixels, for a TaskUIElement.
Syntax
'Declaration
 
Public Property MinimumTaskWidth As Integer
public int MinimumTaskWidth {get; set;}
Remarks

This property is only applicable when the TaskPositioning property is set to 'Proportional'.

In cases where the task's duration is very small as relative to the time spanned by the PrimaryInterval's time slots, the possibility exists that the task will not appear in the user interface, or will appear at a size that makes it difficult to access. Consider, for example, a one-hour task with a PrimaryInterval of one month. Unless the ColumnWidth property was set to a very large value, an accurate representation of the task's duration would make its graphical width less than one pixel, and it would not appear.

The MinimumTaskWidth property prevents tasks from appearing at a size that adversely affects usability.

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