Skip to main content

TaskLinkColorSource Enum

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum TaskLinkColorSource

Members

Name Description
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.

Related API Members

The following properties accept/return TaskLinkColorSource values:

Library Related API Members
Cross-Platform Class Library TaskLinkOptions.ColorSource
WinForms Controls TaskLinkOptionsModel.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