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

SeriesBase.CrosshairLabelVisibility Property

Specifies whether to show a crosshair label on a diagram for a particular 2D Series.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DefaultBoolean CrosshairLabelVisibility { get; set; }

Property Value

Type Description
DefaultBoolean

Default - the CrosshairLabelVisibility property value is obtained from the parent’s CrosshairOptions.ShowCrosshairLabels property; True to show crosshair labels for a series; otherwise, False - crosshair labels are hidden.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

In the Default mode, the crosshair label’s visibility for a particular series is defined by the current options of the SeriesBase.CrosshairEnabled and CrosshairOptions.ShowCrosshairLabels properties.

To learn more on a crosshair cursor, see the Crosshair Cursor topic.

See Also