Skip to main content

CrosshairOptions Class

Contains settings that define how to draw a crosshair cursor on a chart.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

#Declaration

[TypeConverter(typeof(CrosshairOptionsTypeConverter))]
public class CrosshairOptions :
    ChartElement,
    ICrosshairOptions,
    IXtraSupportCreateContentPropertyValue

The following members return CrosshairOptions objects:

Library Related API Members
WinForms Controls ChartControl.CrosshairOptions
ASP.NET MVC Extensions ChartControlSettings.CrosshairOptions
ASP.NET Web Forms Controls WebChartControl.CrosshairOptions

#Remarks

Use the ChartControl.CrosshairOptions (WebChartControl.CrosshairOptions) property to get access to the CrosshairOptions object.

For more information on how to customize the crosshair cursor, see the Crosshair Cursor topic.

#Inheritance

Object
ChartElement
CrosshairOptions
See Also