Skip to main content

ChartControl.CrosshairOptions Property

Gets the settings for a crosshair cursor allowing you to specify its position and appearance on a diagram.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content, true)]
public CrosshairOptions CrosshairOptions { get; set; }

#Property Value

Type Description
CrosshairOptions

A CrosshairOptions object descendant which represents crosshair cursor options on a diagram.

#Remarks

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

#Examples

This example demonstrates how to customize the crosshair label options to show crosshair axis lines and labels on a chart.

See Also