Back to Devexpress

CrosshairOptions.ArgumentLineColor Property

corelibraries-devexpress-dot-xtracharts-dot-crosshairoptions-7179a4f4.md

latest3.3 KB
Original Source

CrosshairOptions.ArgumentLineColor Property

Gets or sets the color of crosshair argument lines.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
Color

A Color value that specifies the argument line color.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to ArgumentLineColor
WinForms ControlsChartControl

.CrosshairOptions .ArgumentLineColor

| | ASP.NET MVC Extensions | ChartControlSettings |

.CrosshairOptions .ArgumentLineColor

| | ASP.NET Web Forms Controls | WebChartControl |

.CrosshairOptions .ArgumentLineColor

|

Remarks

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=DefaultArgumentLineColor=Color.DeepSkyBlue

Note

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

CrosshairOptions Class

CrosshairOptions Members

DevExpress.XtraCharts Namespace