Class ChartTaskChange
A change a person made to a task on a TwGanttChart by dragging it. The chart never changes the task itself: store the new values, or set Cancel to put the bar back.
public sealed class ChartTaskChange
- Inheritance
-
ChartTaskChange
- Inherited Members
Constructors
ChartTaskChange()
public ChartTaskChange()
Properties
Cancel
Gets or sets whether to refuse the change, so the bar stays where it was.
public bool Cancel { get; set; }
Property Value
End
Gets the new end. Unchanged by a ResizeStart or progress drag.
public DateTime End { get; init; }
Property Value
Kind
Gets which gesture made the change.
public ChartTaskChangeKind Kind { get; init; }
Property Value
Progress
Gets the new progress, from 0 to 1. Only a progress drag changes it.
public double? Progress { get; init; }
Property Value
Start
Gets the new start. Unchanged by a ResizeEnd or progress drag.
public DateTime Start { get; init; }
Property Value
Task
Gets the task as it was before the change.
public required ChartTask Task { get; init; }