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

DrawOptions.Color Property

Gets or sets the series or series point color when implementing custom drawing in the chart control.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

Declaration

public Color Color { get; set; }

Property Value

Type Description
Color

A Color value representing the color used for custom drawing series or series points.

Property Paths

You can access this nested property as listed below:

Object Type Path to Color
CustomDrawSeriesEventArgs
.DrawOptions.Color
CustomDrawSeriesPointEventArgs
.DrawOptions.Color

Remarks

Use the Color property to access and modify the color in the ChartControl.CustomDrawSeries or ChartControl.CustomDrawSeriesPoint event handler.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Color 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