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.v20.1.dll

Declaration

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

Property Value

Type Description
TaskLinkColorSource

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ColorSource
GanttDrawOptions
.LinkOptions.ColorSource
GanttSeriesView
.LinkOptions.ColorSource
OverlappedGanttSeriesView
.LinkOptions.ColorSource
SideBySideGanttSeriesView
.LinkOptions.ColorSource

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 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