Skip to main content
Version: 4.2

GanttTask

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

A dated project task, milestone, or summary row.

public class GanttTask : INotifyPropertyChanged

Derives from or implements INotifyPropertyChanged.

  • Id Gets or sets the stable identity; it cannot change while owned.
  • Text Gets or sets the plain task title.
  • Start Gets or sets the start date. Date portions are used; End is exclusive.

Example:

gantt.Tasks.Add(new GanttTask { Id = "design", Text = "Design", Start = DateTime.Today, End = DateTime.Today.AddDays(5) });

Constructors​

Instance member GanttTask()​

Initializes a new instance of GanttTask.

Properties​

Instance member DependsOn​

String[]: Gets or sets finish-to-start predecessor identities; cycles and self-links are rejected.

Instance member End​

DateTime: Gets or sets the exclusive end date. Use RescheduleTask to change both endpoints atomically.

Instance member Id​

String: Gets or sets the stable identity; it cannot change while owned.

Instance member Milestone​

Boolean: Gets or sets whether this task is a zero-duration diamond at Start.

Instance member ParentId​

String: Gets or sets a parent task identity. Unknown parents appear as roots.

Instance member Progress​

Double: Gets or sets completed work as a percentage from zero through 100.

Instance member Start​

DateTime: Gets or sets the start date. Date portions are used; End is exclusive.

Instance member Tag​

Object: Gets or sets application data retained on the server.

Instance member Text​

String: Gets or sets the plain task title.

Instance member Tone​

MeterTone: Gets or sets the semantic bar color.

Events​

Instance member PropertyChanged​

PropertyChangedEventHandler Occurs after a task property changes.