Skip to main content

CrosshairOptions.ContentShowMode Property

Gets or sets the element that displays the Crosshair’s content.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraSerializableProperty]
public CrosshairContentShowMode ContentShowMode { get; set; }

Property Value

Type Description
CrosshairContentShowMode

The value that specifies the chart element displaying the Crosshair’s content.

Available values:

Name Description
Default

The default mode.

Label

The Crosshair’s label displays information about the series point that the Crosshair Cursor highlights.

crosshair-content-show-mode-label

Legend

A legend displays information about the series point that the Crosshair Cursor highlights.

crosshair-content-show-mode-legend

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ContentShowMode
WinForms Controls ChartControl
.CrosshairOptions .ContentShowMode
ASP.NET Web Forms Controls WebChartControl
.CrosshairOptions .ContentShowMode
ASP.NET MVC Extensions ChartControlSettings
.CrosshairOptions .ContentShowMode
See Also