Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Indicator.CrosshairEnabled Property

Gets or sets the value that specifies whether to show the crosshair cursor for the indicator.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public bool? CrosshairEnabled { get; set; }

#Property Value

Type Description
Nullable<Boolean>

null (Nothing in Visual Basic), if the crosshair cursor’s state (enabled/disabled) is automatically determined based on the chart diagram type; true, if the crosshair cursor is enabled for the indicator; false, if the crosshair cursor is disabled.

#Remarks

After the Crosshair Cursor is enabled, use the Indicator.CrosshairLabelPattern property to customize the text that the crosshair label shows for the indicator.

See Also