Skip to main content

CustomDrawSeriesEventArgs.DrawOptions Property

Gets the settings for custom drawing series of different types.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

public DrawOptions DrawOptions { get; }

#Property Value

Type Description
DrawOptions

A DrawOptions class descendant that represents the draw options for this custom draw event.

#Examples

This example shows how to change the color of each series point according to its values.

In addition, the point labels text is changed to show the color of the current interval (Green, Yellow, or Red).

To accomplish this, it is necessary to invoke the ChartControl.CustomDrawSeriesPoint event and change its drawing options in the CorrectDrawOptions() method.

In this example, you can deactivate the "Custom Draw" option on the stack panel to return to the default appearance of series points.

See Also