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.v19.2.dll


public TaskLinkColorSource ColorSource { get; set; }
Public Property ColorSource As TaskLinkColorSource

Property Value

Type Description

A TaskLinkColorSource enumeration value that specifies the source of the color to use for painting a task link.


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.


Changing the TaskLinkOptions.Color property value sets the ColorSource property to TaskLinkColorSource.OwnColor. If the ColorSource property value is different from TaskLinkColorSource.OwnColor, the TaskLinkOptions.Color property value is ignored.

See Also