TaskLinkOptions.ColorSource Property
Gets or sets the value indicating which color should be used when painting a task link.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public TaskLinkColorSource ColorSource { get; set; }
#Property Value
Type | Description |
---|---|
Task |
A Task |
Available values:
Name | Description |
---|---|
Parent |
The task link is painted with the color of the parent bar in the Task |
Parent |
The task link is painted with the color of the parent bar’s border in the Task |
Child |
The task link is painted with the color of the child bar in the Task |
Child |
The task link is painted with the color of the child bar’s border in the Task |
Own |
The task link is painted with the color specified by the Task |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Color |
---|---|
Gantt |
|
Gantt |
|
#Remarks
Use the TaskLinkOptions.Color and ColorSource properties to specify the color which should be used to draw task links in the Gantt Series View. If the TaskLinkOptions.Color property is set to Empty, then the color value is obtained from the current Palette used in a chart.
Note
Changing the Task