GanttTask
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
A dated project task, milestone, or summary row.
- C#
- VB.NET
public class GanttTask : INotifyPropertyChanged
Public Class GanttTask
Inherits 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
GanttTask()
Initializes a new instance of GanttTask.
Properties
DependsOn
String[]: Gets or sets finish-to-start predecessor identities; cycles and self-links are rejected.
End
DateTime: Gets or sets the exclusive end date. Use RescheduleTask to change both endpoints atomically.
Id
String: Gets or sets the stable identity; it cannot change while owned.
Milestone
Boolean: Gets or sets whether this task is a zero-duration diamond at Start.
ParentId
String: Gets or sets a parent task identity. Unknown parents appear as roots.
Progress
Double: Gets or sets completed work as a percentage from zero through 100.
Start
DateTime: Gets or sets the start date. Date portions are used; End is exclusive.
Tag
Object: Gets or sets application data retained on the server.
Text
String: Gets or sets the plain task title.
Tone
MeterTone: Gets or sets the semantic bar color.
Events
PropertyChanged
PropertyChangedEventHandler Occurs after a task property changes.