[]
        
(Showing Draft Content)

C1.GanttView.BaseTask

BaseTask Class

Represents a task in the project.

Inheritance
BaseTask
Namespace: C1.GanttView
Assembly: C1.WPF.GanttView.dll
Syntax
[TypeConverter(typeof(TaskConverter))]
public abstract class BaseTask : BaseObject, INotifyPropertyChanged, ICloneable, IDisposable, IDataErrorInfo

Constructors

Name Description
BaseTask()

Properties

Name Description
BarStyles

Gets the bar styles.

Calendar

Gets or sets the calendar.

CalendarID

Gets or sets the calendar identifier.

ConstraintDate

Gets or sets the start (finish) date for a start (finish) date constraint.

ConstraintType

Gets or sets the type of constraint for scheduling a task.

Deadline

Gets or sets the task's deadline.

Duration

Gets or sets the task duration. Duration units are specified by the DurationUnits property.

DurationUnits

Gets or sets the time units for the task duration.

ErrorMessage

Gets or sets the error message displayed for the task.

FieldStyles

gets the field styles.

Finish

Gets or sets the finish date.

GridConstraintDate

This property is for internal use only.

GridConstraintType

This property is for internal use only.

GridDuration

This property is for internal use only.

GridDurationUnits

This property is for internal use only.

GridFinish

This property is for internal use only.

GridPercent

This property is for internal use only.

GridPredecessors

This property is for internal use only.

GridStart

This property is for internal use only.

GridTaskMode

Gets or sets the grid task mode.

HideBar

Gets or sets a value indicating if the task bar shouldn't appear on the chart.

Inactive

Gets or sets the task in inactive or not.

Initialized

Indicates whether the Task contains non-empty fields.

IsCollapsed

Gets or set the task is collapsed or not.

this[string]

Gets the error message for the property with the given name.

Mode

Gets or sets the task mode.

Name

Gets or sets the task name.

OutlineLevel

Gets or sets the outline level of the task.

OutlineParent

Gets or sets the the outline parent task.

OutlineParentID

Gets or sets the outline parent identifier.

Parts

Gets or sets the Parts of this task.

PercentComplete

Gets or sets the completion stage of this task.

Predecessors

Gets a list of tasks that must be finished/started before this task can start/finish.

ReflectOnGroup

Gets or sets a value indicating whether the task is reflected on group bar.

ReflectOnSummary

Gets or sets the task reflect on summary or not.

ResourceNames

Gets a string with the list of resources used by this task.

ResourceRefs

Gets a list of resources used by this task.

Start

Gets or sets the start date.

Summary

Gets or sets the task in summary task or not.

Methods

Name Description
Clone()

Creates a new object that is a copy of the current instance.

Dispose()

Clean up any resources being used.

GetCompleteThroughDate(double)

Returns the date of the completed part of the task.

GetDurationInDays()

Returns the task duration, in days.

SplitTask(DateTime, double)

Split the task by start date and duration.