A newer version of this page is available. Switch to the current version.

CrosshairOptions.ArgumentLineColor Property

Gets or sets the color of crosshair argument lines.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll


public Color ArgumentLineColor { get; set; }
Public Property ArgumentLineColor As Color

Property Value

Type Description

A Color value that specifies the argument line color.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ArgumentLineColor
WinForms Controls ChartControl
ASP.NET Controls and MVC Extensions ChartControlSettings


The following images demonstrate the ArgumentLineColor property in action.

Note that the crosshair cursor axis lines and labels are displayed on a diagram by setting the CrosshairOptions.ShowArgumentLabels, CrosshairOptions.ShowValueLabels, CrosshairOptions.ShowArgumentLine and CrosshairOptions.ShowValueLine properties to true.

ArgumentLineColor=Default ArgumentLineColor=Color.DeepSkyBlue
ArgumentLineColor_Default ArgumentLineColor_DeepSkyBlue

The crosshair argument label is automatically painted in the specified argument line color if the CrosshairAxisLabelOptions.BackColor property has the default value.

For more information on customizing the crosshair cursor, refer to Tooltip and Crosshair Cursor.

See Also