Skip to main content

CrosshairOptions.ShowCrosshairLabels Property

Specifies whether to show a crosshair label of a series point indicated by a crosshair cursor on a diagram.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

[XtraSerializableProperty]
public bool ShowCrosshairLabels { get; set; }

#Property Value

Type Description
Boolean

true to display a crosshair label indicated by a crosshair cursor on a diagram; otherwise, false.

#Property Paths

You can access the CrosshairOptions.ShowCrosshairLabels property from the following objects:

Object Type Path to ShowCrosshairLabels
ChartControl
.CrosshairOptions.ShowCrosshairLabels

#Remarks

Before using the ShowCrosshairLabels property, make sure the ChartControl.CrosshairEnabled property is set to true.

The following table shows this property in action.

ShowCrosshairLabels=True ShowCrosshairLabels=False
CrosshairOptions - ShowCrosshairLabels - true CrosshairOptions - ShowCrosshairLabels - false
See Also