HypernovaDesktop Components · docs
Binarymission
WPF › Project Management › ScheduledTask

ScheduledTask

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.ProjectManagement

One task once scheduled: its dates, its float, and where it sits in the outline.

public sealed class ScheduledTask

Remarks

The Early and Late values are indexes on the working-day axis of Calendar. A task occupies [EarlyStart, EarlyFinish) , so EarlyFinish is the first index after the task and a finish-to-start successor begins exactly there. The Start and Finish dates are inclusive: the first and last working days of the task.

Members at a glance

AssigneeWho is doing it.
BaselineFinishThe originally agreed last day, when the task has one.
BaselineStartThe originally agreed start, when the task has one.
CategoryIts category.
ChildrenIds of the tasks directly beneath it, in plan order.
DepthZero for a top-level task.
DurationWorking days. For a summary, from its first subtask's start to its last subtask's finish.
EarlyFinishWorking-day index just after its last day.
EarlyStartWorking-day index of its first day.
FinishLast working day, inclusive. For a milestone, the day it falls on.
FreeFloatWorking days it can slip without moving any task that follows it.
IdThe task's id.
IsCollapsedWhether a summary asked to start with its subtasks hidden.
IsCriticalOn the critical path: no float. A summary is critical when any of its subtasks is.
IsMilestoneWhether it is a milestone: no length, drawn as a diamond.
IsSummaryWhether it has subtasks, so that its dates are rolled up from theirs.
LateFinishThe latest index it can finish at without moving the project's finish.
LateFinishDateThe latest last day that keeps the project's finish.
LateStartThe latest index it can start at without moving the project's finish.
LateStartDateThe latest start that keeps the project's finish.
NameThe task's name, or its id when it has none.
ParentIdThe parent's id; null for a top-level task, including one whose parent was refused.
Progress0 to 100. A summary's is its subtasks', weighted by their durations.
StartFirst working day.
StatusIts workflow state.
TaskThe task this was scheduled from.
TotalFloatWorking days it can slip without moving the project's finish. Negative when a pinned date already makes the plan late.
WbsOutline number: 1 , 1.2 , 1.2.3 .
ToStringThe name, for the debugger.

Properties

Assignee

public string Assignee

Who is doing it.

BaselineFinish

public DateTime? BaselineFinish

The originally agreed last day, when the task has one.

BaselineStart

public DateTime? BaselineStart

The originally agreed start, when the task has one.

Category

public string Category

Its category.

Children

public IReadOnlyList<string> Children

Ids of the tasks directly beneath it, in plan order.

Depth

public int Depth

Zero for a top-level task.

Duration

public int Duration

Working days. For a summary, from its first subtask's start to its last subtask's finish.

EarlyFinish

public int EarlyFinish

Working-day index just after its last day.

EarlyStart

public int EarlyStart

Working-day index of its first day.

Finish

public DateTime Finish

Last working day, inclusive. For a milestone, the day it falls on.

FreeFloat

public int FreeFloat

Working days it can slip without moving any task that follows it.

Id

public string Id

The task's id.

IsCollapsed

public bool IsCollapsed

Whether a summary asked to start with its subtasks hidden.

IsCritical

public bool IsCritical

On the critical path: no float. A summary is critical when any of its subtasks is.

IsMilestone

public bool IsMilestone

Whether it is a milestone: no length, drawn as a diamond.

IsSummary

public bool IsSummary

Whether it has subtasks, so that its dates are rolled up from theirs.

LateFinish

public int LateFinish

The latest index it can finish at without moving the project's finish.

LateFinishDate

public DateTime LateFinishDate

The latest last day that keeps the project's finish.

LateStart

public int LateStart

The latest index it can start at without moving the project's finish.

LateStartDate

public DateTime LateStartDate

The latest start that keeps the project's finish.

Name

public string Name

The task's name, or its id when it has none.

ParentId

public string ParentId

The parent's id; null for a top-level task, including one whose parent was refused.

Progress

public double Progress

0 to 100. A summary's is its subtasks', weighted by their durations.

Start

public DateTime Start

First working day.

Status

public string Status

Its workflow state.

Task

public ProjectTask Task

The task this was scheduled from.

TotalFloat

public int TotalFloat

Working days it can slip without moving the project's finish. Negative when a pinned date already makes the plan late.

Wbs

public string Wbs

Outline number: 1 , 1.2 , 1.2.3 .

Methods

ToString

public override string ToString()

The name, for the debugger.

Returns. The name.