Class TaskDetails
A class that can hold the information about a task/activity.
Inheritance
Namespace: Syncfusion.Windows.Controls.Gantt
Assembly: Syncfusion.Gantt.Wpf.dll
Syntax
public class TaskDetails : Object, IGanttTask, INotifyPropertyChanged
Constructors
TaskDetails()
Initializes a new instance of the TaskDetails class.
Declaration
public TaskDetails()
Properties
ActualCost
Gets or sets the actual cost.
Declaration
public double ActualCost { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The actual cost. |
Baseline
Gets or sets the baseline.
Declaration
public double Baseline { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The baseline. |
BaselineCost
Gets/sets the BaselineCost of the Task
Declaration
public double BaselineCost { get; set; }
Property Value
Type |
---|
System.Double |
BaselineFinish
Gets/sets the BaselineEnd Date of the Task
Declaration
public DateTime BaselineFinish { get; set; }
Property Value
Type |
---|
System.DateTime |
BaselineStart
Gets/sets the BaselineStart Date of the Task
Declaration
public DateTime BaselineStart { get; set; }
Property Value
Type |
---|
System.DateTime |
Child
Gets or sets the child.
Declaration
public ObservableCollection<IGanttTask> Child { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<IGanttTask> | The child. |
Cost
Gets/sets the Cost of the Task
Declaration
public double Cost { get; set; }
Property Value
Type |
---|
System.Double |
Duration
Gets or sets the duration.
Declaration
public TimeSpan Duration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The duration. |
FinishDate
Gets or sets the finish date.
Declaration
public DateTime FinishDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The finish date. |
FixedCost
Gets or sets the fixed cost.
Declaration
public double FixedCost { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The fixed cost. |
IsActive
Gets or sets a value indicating whether this instance is active.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsMileStone
Gets or sets a value indicating whether this instance is mile stone.
Declaration
public bool IsMileStone { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsSummaryRow
Gets or sets a value indicating whether this instance is summary row.
Declaration
public bool IsSummaryRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ParentNode
Gets or sets the parent node.
Declaration
public IGanttTask ParentNode { get; set; }
Property Value
Type | Description |
---|---|
IGanttTask | The parent node. |
Predecessor
Gets or sets the predecessor.
Declaration
public ObservableCollection<Predecessor> Predecessor { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<Predecessor> | The predecessor. |
Progress
Gets or sets the progress.
Declaration
public double Progress { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The progress. |
RemainingCost
Gets or sets the remaining cost.
Declaration
public double RemainingCost { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The remaining cost. |
Resources
Gets or sets the resources.
Declaration
public ObservableCollection<Resource> Resources { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<Resource> | The resources. |
StartDate
Gets or sets the start date.
Declaration
public DateTime StartDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The start date. |
TaskId
Gets or sets the task id.
Declaration
public int TaskId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The task id. |
TaskName
Gets or sets the name of the task.
Declaration
public string TaskName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the task. |
TotalCost
Gets or sets the total cost.
Declaration
public double TotalCost { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The total cost. |
Variance
Gets or sets the variance.
Declaration
public double Variance { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The variance. |
Methods
OnPropertyChanged(String)
Called when [property changed].
Declaration
public void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Name of the property. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |