The TaskItem type exposes the following members.

Constructors

  NameDescription
TaskItemOverloaded.

Methods

  NameDescription
CheckAccess (Inherited from DispatcherObject.)
ClearValueOverloaded.
CoerceValue (Inherited from DependencyObject.)
Equals (Inherited from DependencyObject.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from DependencyObject.)
GetLocalValueEnumerator (Inherited from DependencyObject.)
GetType (Inherited from Object.)
GetValue (Inherited from DependencyObject.)
InvalidateProperty (Inherited from DependencyObject.)
MemberwiseClone (Inherited from Object.)
OnPropertyChanged (Inherited from DependencyObject.)
ReadLocalValue (Inherited from DependencyObject.)
SetCurrentValue (Inherited from DependencyObject.)
SetValueOverloaded.
ShouldSerializeProperty (Inherited from DependencyObject.)
ToString
Provides a string representation of this EntityItem object.
(Inherited from EntityItem.)
VerifyAccess (Inherited from DispatcherObject.)

Fields

  NameDescription
AssignmentsProperty
Identifies the Assignments dependency property.
AssignmentsStringProperty
Identifies the AssignmentsString dependency property.
CompletedEffortProperty
Identifies the CompletedEffort dependency property.
CompletionProperty
Identifies the Completion dependency property.
CostProperty
Identifies the Cost dependency property.
DurationProperty
Identifies the Duration dependency property.
EffortProperty
Identifies the Effort dependency property.
FinishProperty
Identifies the Finish dependency property.
IndexStringProperty
Identifies the IndexString dependency property.
IsCompletedProperty
Identifies the IsCompleted dependency property.
IsMilestoneProperty
Identifies the IsMilestone dependency property.
MaxFinishProperty
Identifies the MaxFinish dependency property.
MaxStartProperty
Identifies the MaxStart dependency property.
MinFinishProperty
Identifies the MinFinish dependency property.
MinStartProperty
Identifies the MinStart dependency property.
PredecessorsProperty
Identifies the Predecessors dependency property.
PredecessorsStringProperty
Identifies the PredecessorsString dependency property.
ScheduleProperty
Identifies the Schedule dependency property.
StartProperty
Identifies the Start dependency property.

Properties

  NameDescription
Assignments
Gets or sets the assignment item collection of this TaskItem. You can use a collection of AssignmentItem objects as the task assignment item collection. Note that the assignment item collection is ignored for parent tasks. It is recommended to set this property. This is a dependency property.
AssignmentsString
Gets or sets a string representation of the predecessor collection of this TaskItem. The assignments string is of this form: John, Diane [80%]. This is a dependency property.
CompletedEffort
Gets or sets the completed effort of this TaskItem. The completed effort of a parent task will be based on the completed effort values of its children. It is recommended to set this property. This is a dependency property.
Completion
Gets or sets the completion rate of this TaskItem. Task completion rate is computed automatically based on effort and completed effort. This is a dependency property.
Content
Gets or sets the content of this EntityItem. This is a dependency property.
(Inherited from EntityItem.)
Cost
Gets or sets the cost of this TaskItem. Task cost can be computed automatically based on duration and assignments. The cost of a parent task will be based on the cost values of its children. However a specific task cost can be set and will be used instead if it is higher than the automatically computed cost. This is a dependency property.
DependencyObjectType (Inherited from DependencyObject.)
Dispatcher (Inherited from DispatcherObject.)
Duration
Gets or sets the duration of this TaskItem. Task duration is computed automatically based on schedule, start date and time, effort, and assignments. The duration of a parent task will be based on the duration values of its children. This is a dependency property.
Effort
Gets or sets the effort of this TaskItem. The effort of a parent task will be based on the effort values of its children. It is recommended to set this property. This is a dependency property.
Finish
Gets or sets the finish date and time of this TaskItem. Task finish date and time is computed automatically based on schedule, start date and time, effort, and assignments. The finish date and time of a parent task will be based on the finish date and time values of its children. This is a dependency property.
Indentation
Gets or sets the indentation level of this NodeItem. The hierarchy is based on the indentation level values of the nodes, so that a node with a lower index in the collection and having a specific indentation level will become the parent node for the nodes with a higher index in the collection and having an increased indentation level. It is recommended to set this property. This is a dependency property.
(Inherited from NodeItem.)
IndexString
Gets or sets a string representation of the index of this TaskItem. The value of this property can be automatically computed based on the position of the task in the task collection. The index string is of this form: 1, 2. This is a dependency property.
IsCompleted
Gets or sets a value indicating whether this TaskItem is completed. A completed task has its CompletedEffort value equal to Effort. This is a dependency property.
IsExpanded
Gets or sets the expansion indicator of this NodeItem. If a parent node is expanded its child nodes become visible. If a parent node is collapsed its child nodes become invisible. This is a dependency property.
(Inherited from NodeItem.)
IsMilestone
Gets or sets a value indicating whether this TaskItem represents a milestone. A milestone task has its Effort value set to zero. This is a dependency property.
IsSealed (Inherited from DependencyObject.)
MaxFinish
Gets or sets the maximum finish date and time of this TaskItem. This is a dependency property.
MaxStart
Gets or sets the maximum start date and time of this TaskItem. This is a dependency property.
MinFinish
Gets or sets the minimum finish date and time of this TaskItem. This is a dependency property.
MinStart
Gets or sets the minimum start date and time of this TaskItem. This is a dependency property.
Predecessors
Gets or sets the predecessor item collection of this TaskItem. The predecessor item collection is used to indicate dependencies between tasks. You can use a collection of PredecessorItem objects as the task predecessor item collection. This is a dependency property.
PredecessorsString
Gets or sets a string representation of the predecessor collection of this TaskItem. The predecessors string is of this form: 1, 2SS, 3FF+2. This is a dependency property.
Schedule
Gets or sets the schedule of this TaskItem. The task schedule indicates the time intervals of a day that can be used as work time for achieving completion of the task. If a child task schedule is not set, the parent task schedule is used. If a root task schedule is not set the Continuous schedule is used. This is a dependency property.
Start
Gets or sets the start date and time of this TaskItem. The start date and time of a parent task will be based on the start date and time values of its children. It is recommended to set this property. This is a dependency property.
Tag
Gets or sets an arbitrary object value that can be used to store custom information about this EntityItem. This is a dependency property.
(Inherited from EntityItem.)

Explicit Interface Implementations

  NameDescription
ITaskItem..::.Assignments
Enumerates or populates the assignment item collection of this TaskItem. When setting this property you must use an IAssignmentItem object collection.
ITaskItem..::.Predecessors
Enumerates or populates the predecessor item collection of this TaskItem. When setting this property you must use an IPredecessorItem object collection.

See Also