Skip to main content
A newer version of this page is available. .

TaskLinkOptions.Color Property

Gets the color which is used to draw the task link if the TaskLinkOptions.ColorSource property value is TaskLinkColorSource.OwnColor.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

public Color Color { get; set; }

Property Value

Type Description
Color

A Color structure that specifies the color of the link.

Property Paths

You can access this nested property as listed below:

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

Remarks

Use the Color and TaskLinkOptions.ColorSource properties to specify the color which should be used to draw task links in the Gantt Series View. If the Color property is set to Empty, then the color value is obtained from the current Palette used in a chart.

Note

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

See Also