Back to Devexpress

TaskLinkColorSource Enum

corelibraries-devexpress-dot-xtracharts-5e15d29b.md

latest3.1 KB
Original Source

TaskLinkColorSource Enum

Lists the values that specify what color should be used for painting the Task Link

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum TaskLinkColorSource
vb
<ResourceFinder(GetType(XtraChartsResFinder), "PropertyNamesRes")>
Public Enum TaskLinkColorSource

Members

NameDescription
ParentColor

The task link is painted with the color of the parent bar in the TaskLink relation.

| | ParentBorderColor |

The task link is painted with the color of the parent bar’s border in the TaskLink relation.

| | ChildColor |

The task link is painted with the color of the child bar in the TaskLink relation.

| | ChildBorderColor |

The task link is painted with the color of the child bar’s border in the TaskLink relation.

| | OwnColor |

The task link is painted with the color specified by the TaskLinkOptions.Color property.

|

The following properties accept/return TaskLinkColorSource values:

LibraryRelated API Members
Cross-Platform Class LibraryTaskLinkOptions.ColorSource
WinForms ControlsTaskLinkOptionsModel.ColorSource

Remarks

Use the TaskLinkOptions.ColorSource and TaskLinkOptions.Color 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.

See Also

How to: Create a Gantt Chart with Task Links

DevExpress.XtraCharts Namespace