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

DrawOptions.ActualColor2 Property

Gets the actual second color of a series or its point, when implementing custom drawing in the chart control.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

public Color ActualColor2 { get; }

Property Value

Type Description
Color

A Color value that represents the actual second color of a series or its point.

Property Paths

You can access this nested property as listed below:

Object Type Path to ActualColor2
CustomDrawSeriesEventArgs
.SeriesDrawOptions.ActualColor2
CustomDrawSeriesEventArgsBase
.SeriesDrawOptions.ActualColor2
CustomDrawSeriesPointEventArgs
.SeriesDrawOptions.ActualColor2

Remarks

Use the ActualColor2 property to obtain the actual second color (used for hatch and gradient FillModes) in the ChartControl.CustomDrawSeries or ChartControl.CustomDrawSeriesPoint event handler.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ActualColor2 property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also