Version

CustomTaskColumns Property

Returns a collection of TaskColumn objects.
Syntax
'Declaration
 
Public ReadOnly Property CustomTaskColumns As TaskColumnsCollection
public TaskColumnsCollection CustomTaskColumns {get;}
Remarks

This collection represents custom columns that will display an the UltraGanttView control in addition to the built-in columns. This collection does not contain the built-in columns which are enumerated by the TaskField enumeration.

The TaskColmun objects in this collection defined the column's Key, data type, default value, etc. properties specific to the display of the column such as the TaskColumnSettings and TaskCellSettings can be accessed on the UltraGanttView's GridSettings or the Tasks's GridSettings, the same way these are accessed for the built-in columns, except that you must use the string indexer instead of the TaskField indexer.

To assign a value to a custom field on a task, use the Task.SetCustomProperty. method. Similarly, to retrieve a custom field value from a task, use the Task.GetCustomProperty method

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